14 references to StackLayout
Microsoft.Maui.Controls (9)
LegacyLayouts\StackLayout.cs (9)
11 public class StackLayout : Layout<View>, IElementConfiguration<StackLayout>, IView 14 public static readonly BindableProperty OrientationProperty = BindableProperty.Create(nameof(Orientation), typeof(StackOrientation), typeof(StackLayout), StackOrientation.Vertical, 15 propertyChanged: (bindable, oldvalue, newvalue) => ((StackLayout)bindable).InvalidateLayout()); 18 public static readonly BindableProperty SpacingProperty = BindableProperty.Create(nameof(Spacing), typeof(double), typeof(StackLayout), 6d, 19 propertyChanged: (bindable, oldvalue, newvalue) => ((StackLayout)bindable).InvalidateLayout()); 22 readonly Lazy<PlatformConfigurationRegistry<StackLayout>> _platformConfigurationRegistry; 27 _platformConfigurationRegistry = new Lazy<PlatformConfigurationRegistry<StackLayout>>(() => 28 new PlatformConfigurationRegistry<StackLayout>(this)); 32 public IPlatformElementConfiguration<T, StackLayout> On<T>() where T : IConfigPlatform
Microsoft.Maui.Controls.Compatibility (5)
Properties\AssemblyInfo.cs (5)
8using CStackLayout = Microsoft.Maui.Controls.Compatibility.StackLayout; 32[assembly: StyleProperty("-maui-spacing", typeof(CStackLayout), nameof(CStackLayout.SpacingProperty))] 33[assembly: StyleProperty("-maui-orientation", typeof(CStackLayout), nameof(CStackLayout.OrientationProperty))]