1 implementation of MaximumHeight
Microsoft.Maui.Controls (1)
VisualElement\VisualElement.cs (1)
2115
double IView.
MaximumHeight
13 references to MaximumHeight
Microsoft.Maui (10)
Handlers\View\ViewHandler.cs (2)
43
[nameof(IView.
MaximumHeight
)] = MapMaximumHeight,
251
/// Maps the abstract <see cref="IView.
MaximumHeight
"/> property to the platform-specific implementations.
Layouts\AbsoluteLayoutManager.cs (1)
53
var finalHeight = ResolveConstraints(heightConstraint, AbsoluteLayout.Height, measuredHeight, AbsoluteLayout.MinimumHeight, AbsoluteLayout.
MaximumHeight
);
Layouts\FlexLayoutManager.cs (1)
68
FlexLayout.MinimumHeight, FlexLayout.
MaximumHeight
);
Layouts\GridLayoutManager.cs (1)
95
_gridMaxHeight = _grid.
MaximumHeight
;
Layouts\HorizontalStackLayoutManager.cs (1)
39
var finalHeight = ResolveConstraints(heightConstraint, Stack.Height, measuredHeight, Stack.MinimumHeight, Stack.
MaximumHeight
);
Layouts\LayoutExtensions.cs (3)
60
consumedHeight = Math.Min(bounds.Height, view.
MaximumHeight
);
114
if (alignment == LayoutAlignment.Fill && (IsExplicitSet(view.Height) || !double.IsInfinity(view.
MaximumHeight
)))
121
desiredHeight = IsExplicitSet(view.Height) ? desiredHeight : Math.Min(bounds.Height, view.
MaximumHeight
);
Layouts\VerticalStackLayoutManager.cs (1)
40
var finalHeight = ResolveConstraints(heightConstraint, Stack.Height, measuredHeight, Stack.MinimumHeight, Stack.
MaximumHeight
);
Microsoft.Maui.Controls (3)
Editor\Editor.cs (2)
163
IsExplicitSet(view.
MaximumHeight
) && Height > view.
MaximumHeight
)
VisualElement\VisualElement.cs (1)
1710
fe.Handler?.UpdateValue(nameof(IView.
MaximumHeight
));