54 references to FlexLayout
Microsoft.Maui.Controls (31)
LegacyLayouts\FlexLayout.cs (31)
18 BindableProperty.Create(nameof(Direction), typeof(FlexDirection), typeof(FlexLayout), FlexDirection.Row, 23 BindableProperty.Create(nameof(JustifyContent), typeof(FlexJustify), typeof(FlexLayout), FlexJustify.Start, 28 BindableProperty.Create(nameof(AlignContent), typeof(FlexAlignContent), typeof(FlexLayout), FlexAlignContent.Stretch, 33 BindableProperty.Create(nameof(AlignItems), typeof(FlexAlignItems), typeof(FlexLayout), FlexAlignItems.Stretch, 38 BindableProperty.Create(nameof(Position), typeof(FlexPosition), typeof(FlexLayout), FlexPosition.Relative, 43 BindableProperty.Create(nameof(Wrap), typeof(FlexWrap), typeof(FlexLayout), FlexWrap.NoWrap, 47 BindableProperty.CreateAttached("FlexItem", typeof(Flex.Item), typeof(FlexLayout), null); 51 BindableProperty.CreateAttached("Order", typeof(int), typeof(FlexLayout), default(int), 56 BindableProperty.CreateAttached("Grow", typeof(float), typeof(FlexLayout), default(float), 61 BindableProperty.CreateAttached("Shrink", typeof(float), typeof(FlexLayout), 1f, 66 BindableProperty.CreateAttached("AlignSelf", typeof(FlexAlignSelf), typeof(FlexLayout), FlexAlignSelf.Auto, 71 BindableProperty.CreateAttached("Basis", typeof(FlexBasis), typeof(FlexLayout), FlexBasis.Auto, 192 var flexLayout = bindable as FlexLayout; 201 var flexLayout = bindable as FlexLayout; 210 var flexLayout = bindable as FlexLayout; 219 var flexLayout = (FlexLayout)bindable; 228 var flexLayout = (FlexLayout)bindable; 237 var flexLayout = bindable as FlexLayout; 305 var item = (view as FlexLayout)?._root ?? new Flex.Item(); 307 if (!(view is FlexLayout)) 341 if (view is FlexLayout) 365 var item = (sender as FlexLayout)?._root ?? GetFlexItem((BindableObject)sender); 376 var item = (sender as FlexLayout)?._root ?? GetFlexItem((BindableObject)sender); 390 var item = (sender as FlexLayout)?._root ?? GetFlexItem((BindableObject)sender); 404 var item = (sender as FlexLayout)?._root ?? GetFlexItem((BindableObject)sender);
Microsoft.Maui.Controls.Compatibility (23)
Properties\AssemblyInfo.cs (23)
6using CFlexLayout = Microsoft.Maui.Controls.Compatibility.FlexLayout; 19[assembly: StyleProperty("align-content", typeof(CFlexLayout), nameof(CFlexLayout.AlignContentProperty))] 20[assembly: StyleProperty("align-items", typeof(CFlexLayout), nameof(CFlexLayout.AlignItemsProperty))] 21[assembly: StyleProperty("align-self", typeof(VisualElement), nameof(CFlexLayout.AlignSelfProperty), PropertyOwnerType = typeof(CFlexLayout))] 22[assembly: StyleProperty("flex-direction", typeof(CFlexLayout), nameof(CFlexLayout.DirectionProperty))] 23[assembly: StyleProperty("flex-basis", typeof(VisualElement), nameof(CFlexLayout.BasisProperty), PropertyOwnerType = typeof(CFlexLayout))] 24[assembly: StyleProperty("flex-grow", typeof(VisualElement), nameof(CFlexLayout.GrowProperty), PropertyOwnerType = typeof(CFlexLayout))] 25[assembly: StyleProperty("flex-shrink", typeof(VisualElement), nameof(CFlexLayout.ShrinkProperty), PropertyOwnerType = typeof(CFlexLayout))] 26[assembly: StyleProperty("flex-wrap", typeof(VisualElement), nameof(CFlexLayout.WrapProperty), PropertyOwnerType = typeof(CFlexLayout))] 27[assembly: StyleProperty("justify-content", typeof(CFlexLayout), nameof(CFlexLayout.JustifyContentProperty))] 28[assembly: StyleProperty("order", typeof(VisualElement), nameof(CFlexLayout.OrderProperty), PropertyOwnerType = typeof(CFlexLayout))] 29[assembly: StyleProperty("position", typeof(CFlexLayout), nameof(CFlexLayout.PositionProperty))]