Summary
Syntax
protected StyledPropertyBase(string name, Type ownerType, StyledPropertyMetadata<TValue> metadata, bool inherits = false, Func<TValue, bool> validate = null, 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 |
StyledPropertyMetadata<TValue> |
The property metadata. |
inherits |
bool |
Whether the property inherits its value. |
validate |
Func<TValue, bool> |
A value validation callback. |
notifying |
Action<IAvaloniaObject, bool> |
A Notifying callback. |
Return Value