Share via


BindableProperty.CreateDefaultValueDelegate Delegate

Definition

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.

Applies to