4 writes to WidthRequest
Microsoft.Maui.Controls (4)
IndicatorView\IndicatorStackLayout.cs (1)
142 WidthRequest = indicatorSize,
RadioButton\RadioButton.cs (2)
479 WidthRequest = 21, 490 WidthRequest = 11,
TitleBar\TitleBar.cs (1)
407 WidthRequest = 16,
16 references to WidthRequest
Microsoft.Maui.Controls (16)
ContentPresenter.cs (1)
54 double widthRequest = WidthRequest;
Editor\Editor.cs (2)
151 _previousWidthRequest == WidthRequest && 178 _previousWidthRequest = WidthRequest;
LegacyLayouts\FlexLayout.cs (2)
368 item.Width = ((View)sender).WidthRequest < 0 ? float.NaN : (float)((View)sender).WidthRequest;
Shapes\Shape.cs (3)
412 if (!double.IsInfinity(widthConstraint) || WidthRequest > 0) 414 result.Width = WidthRequest < 0 ? widthConstraint : WidthRequest;
TemplatedView\TemplatedView.cs (1)
49 double widthRequest = WidthRequest;
VisualElement\VisualElement.cs (7)
415 /// <summary>Bindable property for <see cref="WidthRequest"/>.</summary> 417 public static readonly BindableProperty WidthRequestProperty = BindableProperty.Create(nameof(WidthRequest), typeof(double), typeof(VisualElement), -1d, propertyChanged: OnRequestChanged); 884 /// <para><see cref="WidthRequest"/> does not immediately change the <see cref="Bounds"/> of an element; setting the <see cref="WidthRequest"/> will change the resulting width of the element during the next layout pass.</para> 1133 double widthRequest = WidthRequest; 1697 if (element.WidthRequest >= 0) 2030 var value = WidthRequest;