BindableProperty.CreateDefaultValueDelegate<TDeclarer,TPropertyType> Delegate
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Delegate for BindableProperty.DefaultValueCreator.
public delegate TPropertyType BindableProperty.CreateDefaultValueDelegate<in TDeclarer,out TPropertyType>(TDeclarer bindable);
type BindableProperty.CreateDefaultValueDelegate<'Declarer, 'PropertyType> = delegate of 'Declarer -> 'PropertyType
Type Parameters
- TDeclarer
The type of the object that delared the property.
This type parameter is contravariant. That is, you can use either the type you specified or any type that is less derived. For more information about covariance and contravariance, see Covariance and Contravariance in Generics.- TPropertyType
The type of the bound property.
This type parameter is covariant. That is, you can use either the type you specified or any type that is more derived. For more information about covariance and contravariance, see Covariance and Contravariance in Generics.Parameters
- bindable
- TDeclarer
The bindable object that contains the property.
Return Value
TPropertyType