Summary
Base class for direct properties.
- Namespace
- Avalonia
- Interfaces
-
- IEquatable
<AvaloniaProperty> - IPropertyInfo
- IEquatable
- Base Types
-
- object
- AvaloniaProperty
- AvaloniaProperty
<TValue>
- Derived Types
graph BT
Type-->Base0["AvaloniaProperty<TValue>"]
Base0-->Base1["AvaloniaProperty"]
click Base1 "/api/Avalonia/AvaloniaProperty"
Base1-->Base2["object"]
Type-.->Interface0["IEquatable<AvaloniaProperty>"]
Type-.->Interface1["IPropertyInfo"]
click Interface1 "/api/Avalonia.Data.Core/IPropertyInfo"
Type["DirectPropertyBase<TValue>"]
class Type type-node
Derived0["DirectProperty<TOwner, TValue>"]-->Type
click Derived0 "/api/Avalonia/DirectProperty_2"
Syntax
public abstract class DirectPropertyBase<TValue> : AvaloniaProperty<TValue>,
IEquatable<AvaloniaProperty>, IPropertyInfo
Remarks
Whereas
DirectProperty<TOwner, TValue>
is typed on the owner type, this base
class provides a non-owner-typed interface to a direct poperty.
Type Parameters
Name | Description |
---|---|
TValue | The type of the property's value. |
Constructors
Name | Summary |
---|---|
DirectPropertyBase |
Initializes a new instance of the DirectPropertyBase<TValue> class.
|
DirectPropertyBase |
Initializes a new instance of the DirectPropertyBase<TValue> class.
|
DirectPropertyBase |
Initializes a new instance of the DirectPropertyBase<TValue> class.
|
Fields
Name | Constant Value | Summary |
---|---|---|
UnsetValue |
Represents an unset property value.
Inherited from AvaloniaProperty
static
|
Properties
Name | Value | Summary |
---|---|---|
Changed | IObservable |
Gets an observable that is fired when this property changes on any
AvaloniaObject instance.
Inherited from AvaloniaProperty
|
Inherits | bool |
Gets a value indicating whether the property inherits its value.
Inherited from AvaloniaProperty
|
IsAttached | bool |
Gets a value indicating whether this is an attached property.
Inherited from AvaloniaProperty
|
IsDirect | bool |
Gets a value indicating whether this is a direct property.
Inherited from AvaloniaProperty
|
IsReadOnly | bool |
Gets a value indicating whether this is a readonly property.
Inherited from AvaloniaProperty
|
Name | string |
Gets the name of the property.
Inherited from AvaloniaProperty
|
Notifying | Action |
Gets a method that gets called before and after the property starts being notified on an
object.
Inherited from AvaloniaProperty
|
Owner | Type |
Gets the type that registered the property.
|
OwnerType | Type |
Gets the type of the class that registered the property.
Inherited from AvaloniaProperty
|
PropertyType | Type |
Gets the type of the property's value.
Inherited from AvaloniaProperty
|
Methods
Operators
Name | Value | Summary |
---|---|---|
operator ! |
IndexerDescriptor |
Inherited from AvaloniaProperty
|
operator != |
bool |
Inherited from AvaloniaProperty
|
operator ~ |
IndexerDescriptor |
Inherited from AvaloniaProperty
|
operator == |
bool |
Inherited from AvaloniaProperty
|
Extension Methods
Name | Value | Summary |
---|---|---|
CanValueAffectRender |
bool |
Checks if values of given property can affect rendering (via
IAffectsRender ).
|