DirectPropertyMetadata<TValue> Class

Summary

Metadata for direct avalonia properties.
Namespace
Avalonia
Interfaces
Base Types
graph BT Type-->Base0["PropertyMetadata"] click Base0 "/api/Avalonia/PropertyMetadata" Base0-->Base1["object"] Type-.->Interface0["IDirectPropertyMetadata"] click Interface0 "/api/Avalonia/IDirectPropertyMetadata" Type["DirectPropertyMetadata<TValue>"] class Type type-node

Syntax

public class DirectPropertyMetadata<TValue> : PropertyMetadata, IDirectPropertyMetadata

Type Parameters

Name Description
TValue

Constructors

Name Summary
DirectPropertyMetadata(TValue, BindingMode, bool?) Initializes a new instance of the StyledPropertyMetadata<TValue> class.

Properties

Name Value Summary
DefaultBindingMode BindingMode
Gets the default binding mode for the property.
Inherited from PropertyMetadata
EnableDataValidation bool?
Gets a value indicating whether the property is interested in data validation.
UnsetValue TValue
Gets the value to use when the property is set to UnsetValue.

Methods

Name Value Summary
Merge(PropertyMetadata, AvaloniaProperty) void
Merges the metadata with the base metadata.