1 implementation of MaximumWidth
Microsoft.Maui.Controls (1)
VisualElement\VisualElement.cs (1)
2103 double IView.MaximumWidth
13 references to MaximumWidth
Microsoft.Maui (10)
Handlers\View\ViewHandler.cs (2)
45 [nameof(IView.MaximumWidth)] = MapMaximumWidth, 271 /// Maps the abstract <see cref="IView.MaximumWidth"/> property to the platform-specific implementations.
Layouts\AbsoluteLayoutManager.cs (1)
54 var finalWidth = ResolveConstraints(widthConstraint, AbsoluteLayout.Width, measuredWidth, AbsoluteLayout.MinimumWidth, AbsoluteLayout.MaximumWidth);
Layouts\FlexLayoutManager.cs (1)
71 FlexLayout.MinimumWidth, FlexLayout.MaximumWidth);
Layouts\GridLayoutManager.cs (1)
97 _gridMaxWidth = _grid.MaximumWidth;
Layouts\HorizontalStackLayoutManager.cs (1)
40 var finalWidth = ResolveConstraints(widthConstraint, Stack.Width, measuredWidth, Stack.MinimumWidth, Stack.MaximumWidth);
Layouts\LayoutExtensions.cs (3)
46 consumedWidth = Math.Min(bounds.Width, view.MaximumWidth); 77 if (alignment == LayoutAlignment.Fill && (IsExplicitSet(view.Width) || !double.IsInfinity(view.MaximumWidth))) 84 desiredWidth = IsExplicitSet(view.Width) ? desiredWidth : Math.Min(bounds.Width, view.MaximumWidth);
Layouts\VerticalStackLayoutManager.cs (1)
41 var finalWidth = ResolveConstraints(widthConstraint, Stack.Width, measuredWidth, Stack.MinimumWidth, Stack.MaximumWidth);
Microsoft.Maui.Controls (3)
Editor\Editor.cs (2)
161 IsExplicitSet(view.MaximumWidth) && Width > view.MaximumWidth ||
VisualElement\VisualElement.cs (1)
1711 fe.Handler?.UpdateValue(nameof(IView.MaximumWidth));