AvaloniaProperty<TValue> Class
Definition
A typed avalonia property.
public class AvaloniaProperty<TValue>
Methods
| Name | Description |
|---|---|
| Bind | Returns a binding accessor that can be passed to Avalonia.AvaloniaObject's [] operator to initiate a binding. Inherited from AvaloniaProperty. |
| Equals (2 overloads) | Inherited from AvaloniaProperty. |
| GetHashCode | Inherited from AvaloniaProperty. |
| GetMetadata (3 overloads) | Inherited from AvaloniaProperty. |
| IsValidValue | Checks whether the value is valid for the property. Inherited from AvaloniaProperty. |
| Register | Inherited from AvaloniaProperty. |
| RegisterAttached (2 overloads) | Inherited from AvaloniaProperty. |
| RegisterDirect | Inherited from AvaloniaProperty. |
| ToString | Gets the string representation of the property. Inherited from AvaloniaProperty. |
| Unregister | Inherited from AvaloniaProperty. |
Properties
| Name | Description |
|---|---|
| Changed | Gets an observable that is fired when this property changes on any Avalonia.AvaloniaObject instance. |
| Inherits | Gets a value indicating whether the property inherits its value. Inherited from AvaloniaProperty. |
| IsAttached | Gets a value indicating whether this is an attached property. Inherited from AvaloniaProperty. |
| IsDirect | Gets a value indicating whether this is a direct property. Inherited from AvaloniaProperty. |
| IsReadOnly | Gets a value indicating whether this is a readonly property. Inherited from AvaloniaProperty. |
| Name | Gets the name of the property. Inherited from AvaloniaProperty. |
| OwnerType | Gets the type of the class that registered the property. Inherited from AvaloniaProperty. |
| PropertyType | Gets the type of the property's value. Inherited from AvaloniaProperty. |
Changed Property
Gets an observable that is fired when this property changes on any Avalonia.AvaloniaObject instance.
public IObservable<Avalonia.AvaloniaPropertyChangedEventArgs<T><TValue>> Changed { get; set; }
Value
An observable that is fired when this property changes on any Avalonia.AvaloniaObject instance.
Fields
| Name | Description |
|---|---|
| UnsetValue | Represents an unset property value. Inherited from AvaloniaProperty. |