DirectPropertyBase<TValue>.

DirectPropertyBase(AvaloniaProperty, Type, AvaloniaPropertyMetadata) Constructor

Summary

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

Syntax

[Obsolete("Use constructor with DirectPropertyBase<TValue> instead.", true)]
protected DirectPropertyBase(AvaloniaProperty source, Type ownerType, AvaloniaPropertyMetadata metadata)

Attributes

Type Description
ObsoleteAttribute

Parameters

Name Type Description
source AvaloniaProperty The property to copy.
ownerType Type The new owner type.
metadata AvaloniaPropertyMetadata Optional overridden metadata.

Return Value

Type Description
void