Implemented interface member:
property
Width
Microsoft.Maui.Controls.IFlowDirectionController.Width
1 write to Width
Microsoft.Maui.Controls (1)
VisualElement\VisualElement.cs (1)
1761 Width = bounds.Width;
36 references to Width
Microsoft.Maui.Controls (33)
Cells\Cell.cs (1)
151 double IFlowDirectionController.Width => (Parent as VisualElement)?.Width ?? 0;
Compatibility\Handlers\iOS\ViewRenderer.cs (1)
50 platformView.Frame = new CoreGraphics.CGRect(0, 0, (nfloat)Element.Width, (nfloat)Element.Height);
Editor\Editor.cs (3)
147 if (Width > 0 && 160 if (IsExplicitSet(view.MinimumWidth) && Width < view.MinimumWidth || 161 IsExplicitSet(view.MaximumWidth) && Width > view.MaximumWidth ||
LegacyLayouts\Layout.cs (4)
192 public void ForceLayout() => SizeAllocated(Width, Height); 455 double width = Width; 599 if (_lastLayoutSize != new Size(Width, Height)) 683 if (Width <= 0 || Height <= 0 || !LogicalChildrenInternal.Any() || !IsVisible || !IsPlatformStateConsistent || DisableLayout)
LegacyLayouts\RelativeLayout.cs (5)
208 double mockWidth = double.IsPositiveInfinity(widthConstraint) ? (Parent as VisualElement).Width : widthConstraint; 310 width = () => view.Measure(Width, heightConstraint != null ? height() : Height, MeasureFlags.IncludeMargins).Request.Width; 321 height = () => view.Measure(widthConstraint != null ? width() : Width, Height, MeasureFlags.IncludeMargins).Request.Height; 373 Func<double> widthCompiled = width != null ? width.Compile() : () => view.Measure(Parent.Width, Parent.Height, MeasureFlags.IncludeMargins).Request.Width; 374 Func<double> heightCompiled = height != null ? height.Compile() : () => view.Measure(Parent.Width, Parent.Height, MeasureFlags.IncludeMargins).Request.Height;
NavigationPage\NavigationPage.Legacy.cs (1)
143 if (Width > 0 && Height > 0)
Page\Page.cs (3)
395 SizeAllocated(Width, Height); 589 double w = Math.Max(0, Width - Padding.HorizontalThickness); 795 if (logicalChildren.Count == 0 || Width <= 0 || Height <= 0 || !IsPlatformStateConsistent)
Platform\GestureManager\GesturePlatformManager.iOS.cs (1)
284 var scaledPoint = new Point(originPoint.X / view.Width, originPoint.Y / view.Height);
ScrollView\ScrollView.cs (7)
61 var scrollBounds = new Rect(ScrollX, ScrollY, Width, Height); 62 var itemBounds = new Rect(x, y, item.Width, item.Height); 82 x = x - Width / 2 + item.Width / 2; 86 x = x - Width + item.Width; 301 widthConstraint = Width;
Shapes\RoundRectangle.cs (1)
31 var width = Width;
Shapes\Shape.cs (1)
450 var width = Width;
Shell\BaseShellItem.cs (1)
293 double IFlowDirectionController.Width => (Parent as VisualElement)?.Width ?? 0;
VisualElement\VisualElement.cs (3)
64 static readonly BindablePropertyKey WidthPropertyKey = BindableProperty.CreateReadOnly(nameof(Width), typeof(double), typeof(VisualElement), -1d, 67 /// <summary>Bindable property for <see cref="Width"/>.</summary> 1764 SizeAllocated(Width, Height);
Window\Window.cs (1)
355 double IFlowDirectionController.Width => (Page as VisualElement)?.Width ?? 0;
Microsoft.Maui.Controls.Compatibility (1)
Tizen\Renderers\ScrollViewRenderer.cs (1)
119 var region = new Rect(x, y, Element.Width, Element.Height).ToPixel();
Microsoft.Maui.Controls.Foldable (2)
TwoPaneView.cs (1)
316 UpdateMode(Width, Height, invalidateLayout);
TwoPaneViewLayoutGuide.cs (1)
57 UpdateLayouts(layout.Width, layout.Height);