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)
412 int IBorderElement.CornerRadiusDefaultValue => (int)CornerRadiusProperty.DefaultValue; 414 Color IBorderElement.BorderColorDefaultValue => (Color)BorderColorProperty.DefaultValue; 416 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)
55 bool _isEnabledExplicit = (bool)IsEnabledProperty.DefaultValue;
RadioButton\RadioButton.cs (3)
271 int IBorderElement.CornerRadiusDefaultValue => (int)BorderElement.CornerRadiusProperty.DefaultValue; 273 Color IBorderElement.BorderColorDefaultValue => (Color)BorderElement.BorderColorProperty.DefaultValue; 275 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)
32 bool _inputTransparentExplicit = (bool)InputTransparentProperty.DefaultValue; 39 bool _isEnabledExplicit = (bool)IsEnabledProperty.DefaultValue;
Microsoft.Maui.Controls.Xaml (1)
MarkupExtensions\FontImageExtension.cs (1)
15 public double Size { get; set; } = (double)FontImageSource.SizeProperty.DefaultValue;