BindableProperty.CreateDefaultValueDelegate 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.
Represents a delegate that creates a default value for a bindable property.
public delegate object BindableProperty.CreateDefaultValueDelegate(BindableObject bindable);
type BindableProperty.CreateDefaultValueDelegate = delegate of BindableObject -> obj
Public Delegate Function BindableProperty.CreateDefaultValueDelegate(bindable As BindableObject) As Object
Parameters
- bindable
- BindableObject
The BindableObject instance that owns the property.
Return Value
The default value for the property.
Remarks
This delegate is useful for creating unique default instances for reference types, avoiding shared references between different bindable object instances.