Windows.UI.Xaml.PropertyMetadata.DefaultValue
July 6, 2022 ยท View on GitHub
-description
Gets the default value for the dependency property.
-property-value
The default value for the dependency property.
-remarks
Defining the DefaultValue property for a PropertyMetadata instance is part of the scenario for defining a custom dependency property. For info and examples, see Custom dependency properties.
The default value for a dependency property is often not the apparent value at run time, even if the property is not explicitly set. For more info, see Dependency properties overview.
-examples
-see-also
CreateDefaultValueCallback, DependencyProperty.Register, Custom dependency properties, Dependency properties overview