DirectPropertyMetadata<TValue> Class

Summary

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

Syntax

public class DirectPropertyMetadata<TValue> : AvaloniaPropertyMetadata, 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.
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(AvaloniaPropertyMetadata, AvaloniaProperty) void
Merges the metadata with the base metadata.