Use CssListProperty in StackLayout for padding property.