DirectPropertyMetadata<TValue>.

DirectPropertyMetadata(TValue, BindingMode, bool?) Constructor

Summary

Initializes a new instance of the StyledPropertyMetadata<TValue> class.
Namespace
Avalonia
Containing Type
DirectPropertyMetadata<TValue>

Syntax

public DirectPropertyMetadata(TValue unsetValue = default(TValue), BindingMode defaultBindingMode = Default, bool? enableDataValidation = null)

Parameters

Name Type Description
unsetValue TValue The value to use when the property is set to UnsetValue
defaultBindingMode BindingMode The default binding mode.
enableDataValidation bool? Whether the property is interested in data validation.

Return Value

Type Description
void