1 implementation of Width
Microsoft.Maui.Controls (1)
VisualElement\VisualElement.cs (1)
2012 double IView.Width
15 references to Width
Microsoft.Maui (12)
Handlers\View\ViewHandler.cs (2)
40 [nameof(IView.Width)] = MapWidth, 221 /// Maps the abstract <see cref="IView.Width"/> 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)
70 var finalWidth = LayoutManager.ResolveConstraints(widthConstraint, FlexLayout.Width, measuredWidth + padding.HorizontalThickness,
Layouts\GridLayoutManager.cs (1)
90 _explicitGridWidth = _grid.Width;
Layouts\HorizontalStackLayoutManager.cs (1)
40 var finalWidth = ResolveConstraints(widthConstraint, Stack.Width, measuredWidth, Stack.MinimumWidth, Stack.MaximumWidth);
Layouts\LayoutExtensions.cs (5)
44 if (view.HorizontalLayoutAlignment == LayoutAlignment.Fill && !IsExplicitSet(view.Width)) 77 if (alignment == LayoutAlignment.Fill && (IsExplicitSet(view.Width) || !double.IsInfinity(view.MaximumWidth))) 84 desiredWidth = IsExplicitSet(view.Width) ? desiredWidth : Math.Min(bounds.Width, view.MaximumWidth); 149 if (Dimension.IsExplicitSet(contentView.Width)) 151 widthConstraint = contentView.Width;
Layouts\VerticalStackLayoutManager.cs (1)
41 var finalWidth = ResolveConstraints(widthConstraint, Stack.Width, measuredWidth, Stack.MinimumWidth, Stack.MaximumWidth);
Microsoft.Maui.Controls (3)
Editor\Editor.cs (1)
156 (!IsExplicitSet(view.Width) || !IsExplicitSet(view.Height))
Layout\FlexLayout.cs (1)
414 _ => view.Width
VisualElement\VisualElement.cs (1)
1709 fe.Handler?.UpdateValue(nameof(IView.Width));