Summary
Gets a subject for a
AvaloniaProperty
.
- Namespace
- Avalonia
- Containing Type
- Avalonia
Object Extensions
Syntax
public static ISubject<object> GetSubject(this IAvaloniaObject o, AvaloniaProperty property, BindingPriority priority = LocalValue)
Parameters
Name | Type | Description |
---|---|---|
o | IAvaloniaObject | The object. |
property | AvaloniaProperty | The property. |
priority | BindingPriority | The priority with which binding values are written to the object. |
Return Value
Type | Description |
---|---|
ISubject |
An ISubject<Object> which can be used for two-way binding to/from the
property.
|