StyledPropertyMetadata<TValue> Class

Summary

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

Syntax

public class StyledPropertyMetadata<TValue> : AvaloniaPropertyMetadata, IStyledPropertyMetadata

Type Parameters

Name Description
TValue

Constructors

Properties

Name Value Summary
CoerceValue Func<IAvaloniaObject, TValue, TValue>
Gets the value coercion callback, if any.
DefaultBindingMode BindingMode
Gets the default binding mode for the property.
DefaultValue TValue
Gets the default value for the property.

Methods

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