共用方式為


BindableProperty.CreateDefaultValueDelegate<TDeclarer,TPropertyType> Delegate

Definition

public delegate TPropertyType BindableProperty.CreateDefaultValueDelegate<in TDeclarer,out TPropertyType>(TDeclarer bindable);
type BindableProperty.CreateDefaultValueDelegate<'Declarer, 'PropertyType> = delegate of 'Declarer -> 'PropertyType
Public Delegate Function BindableProperty.CreateDefaultValueDelegate(Of In TDeclarer, Out TPropertyType)(bindable As TDeclarer) As TPropertyType 

Type Parameters

TDeclarer
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
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

Return Value

TPropertyType

Applies to