26 references to StackOrientation
Microsoft.Maui.Controls (26)
IndicatorView\IndicatorStackLayout.cs (1)
13
Orientation =
StackOrientation
.Horizontal;
Layout\AndExpandLayoutManager.cs (1)
43
if (stackLayout.Orientation ==
StackOrientation
.Vertical)
Layout\StackLayout.cs (5)
16
public static readonly BindableProperty OrientationProperty = BindableProperty.Create(nameof(Orientation), typeof(
StackOrientation
), typeof(StackLayout),
StackOrientation
.Vertical,
20
/// Gets or sets the value which indicates the direction which child elements are positioned. Default value is <see cref="
StackOrientation
.Vertical"/>.
23
public
StackOrientation
Orientation
25
get { return (
StackOrientation
)GetValue(OrientationProperty); }
Layout\StackLayoutManager.cs (4)
27
if (_stackLayout.Orientation ==
StackOrientation
.Vertical)
47
var
orientation = stackLayout.Orientation;
57
if (orientation ==
StackOrientation
.Vertical && view.VerticalOptions.Expands)
62
if (orientation ==
StackOrientation
.Horizontal && view.HorizontalOptions.Expands)
LegacyLayouts\StackLayout.cs (15)
14
public static readonly BindableProperty OrientationProperty = BindableProperty.Create(nameof(Orientation), typeof(
StackOrientation
), typeof(StackLayout),
StackOrientation
.Vertical,
37
public
StackOrientation
Orientation
39
get { return (
StackOrientation
)GetValue(OrientationProperty); }
60
StackOrientation
orientation = Orientation;
106
void AlignOffAxis(LayoutInformation layout,
StackOrientation
orientation, double widthConstraint, double heightConstraint)
112
if (orientation ==
StackOrientation
.Vertical)
131
StackOrientation
orientation = Orientation;
143
void CalculateNaiveLayout(LayoutInformation layout,
StackOrientation
orientation, double x, double y, double widthConstraint, double heightConstraint)
154
if (orientation ==
StackOrientation
.Vertical)
287
void CompressNaiveLayout(LayoutInformation layout,
StackOrientation
orientation, double widthConstraint, double heightConstraint)
292
if (orientation ==
StackOrientation
.Vertical)
361
if (Orientation ==
StackOrientation
.Horizontal)
410
void ProcessExpanders(LayoutInformation layout,
StackOrientation
orientation, double x, double y, double widthConstraint, double heightConstraint)
415
if (orientation ==
StackOrientation
.Vertical)