5 implementations of BorderWidth
Microsoft.Maui.Controls (5)
Button\Button.cs (1)
169 public double BorderWidth
CheckBox\CheckBox.cs (1)
66 double IBorderElement.BorderWidth => 0;
Frame\Frame.cs (1)
59 double IBorderElement.BorderWidth => 1;
ImageButton\ImageButton.cs (1)
83 public double BorderWidth
RadioButton\RadioButton.cs (1)
187 public double BorderWidth
8 references to BorderWidth
Microsoft.Maui.Controls (6)
BorderElement.cs (2)
16 /// <summary>Bindable property for <see cref="IBorderElement.BorderWidth"/>.</summary> 17 public static readonly BindableProperty BorderWidthProperty = BindableProperty.Create(nameof(IBorderElement.BorderWidth), typeof(double), typeof(IBorderElement), -1d);
Button\Button.cs (1)
149 /// <remarks>This property has no effect if <see cref="IBorderElement.BorderWidth" /> is set to 0. On Android this property will not have an effect unless <see cref="VisualElement.BackgroundColor" /> is set to a non-default color.</remarks>
Frame\Frame.cs (3)
65 double IBorderElement.BorderWidthDefaultValue => ((IBorderElement)this).BorderWidth; 116 bounds = bounds.Inset(((IBorderElement)this).BorderWidth); // Windows' implementation would cause an incorrect double-counting of the inset 127 inset += ((IBorderElement)this).BorderWidth; // Windows' implementation would cause an incorrect double-counting of the inset
Microsoft.Maui.Controls.Compatibility (2)
iOS\Renderers\BorderElementManager.cs (1)
58 control.Layer.BorderWidth = Math.Max(0f, (float)ImageButton.BorderWidth);
iOS\Renderers\ButtonLayoutManager.cs (1)
335 if (_borderAdjustsPadding && _element is IBorderElement borderElement && borderElement.IsBorderWidthSet() && borderElement.BorderWidth != borderElement.BorderWidthDefaultValue)