AvaloniaProperty.

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

Summary

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

Syntax

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

Parameters

Name Type Description
name string The name of the property.
valueType Type The type of the property's value.
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