AvaloniaProperty<TValue>.

AvaloniaProperty(string, Type, AvaloniaPropertyMetadata, Action<IAvaloniaObject, bool>) Constructor

Summary

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

Syntax

protected AvaloniaProperty(string name, Type ownerType, AvaloniaPropertyMetadata metadata, Action<IAvaloniaObject, bool> notifying = null)

Parameters

Name Type Description
name string The name of the property.
ownerType Type The type of the class that registers the property.
metadata AvaloniaPropertyMetadata The property metadata.
notifying Action<IAvaloniaObject, bool> A Notifying callback.

Return Value

Type Description
void