1 write to DefaultValue
Microsoft.Maui.Controls (1)
BindableProperty.cs (1)
104
DefaultValue
= defaultValue;
19 references to DefaultValue
Microsoft.Maui.Controls (18)
BindableObject.cs (2)
172
return context == null ? property.
DefaultValue
: context.Values.GetValue();
743
context.Values[SetterSpecificity.DefaultValue] = defaultValueCreator != null ? defaultValueCreator(this) : property.
DefaultValue
;
BindableProperty.cs (1)
205
return
DefaultValue
;
Button\Button.cs (3)
413
int IBorderElement.CornerRadiusDefaultValue => (int)CornerRadiusProperty.
DefaultValue
;
415
Color IBorderElement.BorderColorDefaultValue => (Color)BorderColorProperty.
DefaultValue
;
417
double IBorderElement.BorderWidthDefaultValue => (double)BorderWidthProperty.
DefaultValue
;
Frame\Frame.cs (2)
61
int IBorderElement.CornerRadiusDefaultValue => (int)CornerRadiusProperty.
DefaultValue
;
63
Color IBorderElement.BorderColorDefaultValue => (Color)BorderColorProperty.
DefaultValue
;
ImageButton\ImageButton.cs (3)
163
int IBorderElement.CornerRadiusDefaultValue => (int)CornerRadiusProperty.
DefaultValue
;
165
Color IBorderElement.BorderColorDefaultValue => (Color)BorderColorProperty.
DefaultValue
;
167
double IBorderElement.BorderWidthDefaultValue => (double)BorderWidthProperty.
DefaultValue
;
Menu\MenuItem.cs (1)
56
bool _isEnabledExplicit = (bool)IsEnabledProperty.
DefaultValue
;
RadioButton\RadioButton.cs (3)
272
int IBorderElement.CornerRadiusDefaultValue => (int)BorderElement.CornerRadiusProperty.
DefaultValue
;
274
Color IBorderElement.BorderColorDefaultValue => (Color)BorderElement.BorderColorProperty.
DefaultValue
;
276
double IBorderElement.BorderWidthDefaultValue => (double)BorderElement.BorderWidthProperty.
DefaultValue
;
StyleSheets\Style.cs (1)
74
styleable.SetValue(property, property.
DefaultValue
, new SetterSpecificity(SetterSpecificity.StyleImplicit, (byte)selectorSpecificity.Id, (byte)selectorSpecificity.Class, (byte)selectorSpecificity.Type));
VisualElement\VisualElement.cs (2)
33
bool _inputTransparentExplicit = (bool)InputTransparentProperty.
DefaultValue
;
40
bool _isEnabledExplicit = (bool)IsEnabledProperty.
DefaultValue
;
Microsoft.Maui.Controls.Xaml (1)
MarkupExtensions\FontImageExtension.cs (1)
15
public double Size { get; set; } = (double)FontImageSource.SizeProperty.
DefaultValue
;