5 implementations of BorderWidth
Microsoft.Maui.Controls (5)
Button\Button.cs (1)
171
public double
BorderWidth
CheckBox\CheckBox.cs (1)
68
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)
190
public double
BorderWidth
6 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)
151
/// <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