Table of Contents

Class DataTypeAttribute

Namespace
Avalonia.Metadata
Assembly
Avalonia.Base.dll

Defines the property that contains type that should be used as a type information for compiled bindings.

[AttributeUsage(AttributeTargets.Property)]
public sealed class DataTypeAttribute : Attribute
Inheritance
DataTypeAttribute
Inherited Members

Remarks

Used on DataTemplate.DataType property so it can be inherited in compiled bindings inside of the template.

Constructors

DataTypeAttribute()

public DataTypeAttribute()