21 references to FlexAlignContent
Microsoft.Maui (8)
Converters\FlexEnumsConverters.cs (7)
98
if (Enum.TryParse(strValue, true, out
FlexAlignContent
aligncontent))
101
return
FlexAlignContent
.Start;
103
return
FlexAlignContent
.End;
105
return
FlexAlignContent
.SpaceBetween;
107
return
FlexAlignContent
.SpaceAround;
110
throw new InvalidOperationException(string.Format("Cannot convert \"{0}\" into {1}", strValue, typeof(
FlexAlignContent
)));
115
if (value is not
FlexAlignContent
fac)
Core\IFlexLayout.cs (1)
25
FlexAlignContent
AlignContent { get; }
Microsoft.Maui.Controls (12)
Layout\FlexLayout.cs (6)
30
BindableProperty.Create(nameof(AlignContent), typeof(
FlexAlignContent
), typeof(FlexLayout),
FlexAlignContent
.Stretch,
88
public
FlexAlignContent
AlignContent
90
get => (
FlexAlignContent
)GetValue(AlignContentProperty);
225
flexLayout._root.AlignContent = (Flex.AlignContent)(
FlexAlignContent
)newValue;
623
item.AlignContent = (Flex.AlignContent)(
FlexAlignContent
)GetValue(AlignContentProperty);
LegacyLayouts\FlexLayout.cs (6)
28
BindableProperty.Create(nameof(AlignContent), typeof(
FlexAlignContent
), typeof(FlexLayout),
FlexAlignContent
.Stretch,
89
public
FlexAlignContent
AlignContent
91
get => (
FlexAlignContent
)GetValue(AlignContentProperty);
213
flexLayout._root.AlignContent = (Flex.AlignContent)(
FlexAlignContent
)newValue;
273
item.AlignContent = (Flex.AlignContent)(
FlexAlignContent
)GetValue(AlignContentProperty);
Microsoft.Maui.Controls.Build.Tasks (1)
XamlCache.cs (1)
66
{ module.ImportReference(this, ("Microsoft.Maui", "Microsoft.Maui.Converters", "FlexAlignContentTypeConverter")), typeof(EnumTypeConverter<Layouts.
FlexAlignContent
>) },