-api-id | -api-type |
---|---|
M:Windows.UI.Xaml.PropertyMetadata.Create(Windows.UI.Xaml.CreateDefaultValueCallback,Windows.UI.Xaml.PropertyChangedCallback) |
winrt method |
Creates a PropertyMetadata value, specifying a callback that establishes a default value for a dependency property, and a property-changed callback.
A reference to the callback method that provides a default property value.
A reference to the callback method that is invoked by the property system when a dependency property value changes.
The newly created dependency property metadata.
Create(Object), Create(Object, PropertyChangedCallback), Create(CreateDefaultValueCallback), Custom dependency properties, Dependency properties overview