14 references to ContentLayout
Microsoft.Maui.Controls (14)
Button\Button.cs (3)
31 /// The backing store for the <see cref="ContentLayout" /> bindable property. 34 nameof(ContentLayout), typeof(ButtonContentLayout), typeof(Button), new ButtonContentLayout(ButtonContentLayout.ImagePosition.Left, DefaultSpacing), 500 Handler?.UpdateValue(nameof(ContentLayout));
Button\Button.iOS.cs (9)
42 var layout = button.ContentLayout; 191 var layout = button.ContentLayout; 296 if (image is not null && button.ContentLayout.Position == ButtonContentLayout.ImagePosition.Left || button.ContentLayout.Position == ButtonContentLayout.ImagePosition.Right) 298 titleWidthConstraint -= (nfloat)(button.ContentLayout.Spacing + padding.Left + padding.Right); 312 if (currentTitleText.Length > 0 && button.ContentLayout.Position == ButtonContentLayout.ImagePosition.Left || button.ContentLayout.Position == ButtonContentLayout.ImagePosition.Right) 357 if (button.ContentLayout.Position == ButtonContentLayout.ImagePosition.Left || button.ContentLayout.Position == ButtonContentLayout.ImagePosition.Right)
Button\Button.Mapper.cs (2)
17 ButtonHandler.Mapper.ReplaceMapping<Button, IButtonHandler>(nameof(ContentLayout), MapContentLayout); 32 /// Maps the abstract <see cref="ContentLayout"/> property to the platform implementation.