AttachedPropertyTValue Class

An attached avalonia property.

Definition

Namespace: Avalonia
Assembly: Avalonia.Base (in Avalonia.Base.dll) Version: 11.3.999
public sealed class AttachedProperty<TValue> : StyledProperty<TValue>
Inheritance
Object    AvaloniaProperty    AvaloniaPropertyTValue    StyledPropertyTValue    AttachedPropertyTValue

Type Parameters

TValue
The type of the property's value.

Properties

Changed Gets an observable that is fired when this property changes on any AvaloniaObject instance.
(Inherited from AvaloniaPropertyTValue)
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)
ValidateValue A method which returns "false" for values that are never valid for this property.
(Inherited from StyledPropertyTValue)

Methods

AddOwnerTOwner(StyledPropertyMetadataTValue) Attaches the property as a non-attached property on the specified type.
Bind Returns a binding accessor that can be passed to AvaloniaObject's [] operator to initiate a binding.
(Inherited from AvaloniaProperty)
CoerceValue(AvaloniaObject, TValue)
(Inherited from StyledPropertyTValue)
Equals(AvaloniaProperty)Indicates whether the current object is equal to another object of the same type.
(Inherited from AvaloniaProperty)
Equals(Object)Determines whether the specified object is equal to the current object.
(Inherited from AvaloniaProperty)
GetDefaultValue(AvaloniaObject) Gets the default value for the property on the specified object.
(Inherited from StyledPropertyTValue)
GetDefaultValue(Type) Gets the default value for the property on the specified type.
(Inherited from StyledPropertyTValue)
GetHashCodeServes as the default hash function.
(Inherited from AvaloniaProperty)
GetMetadata(AvaloniaObject) Gets the AvaloniaPropertyMetadata which applies to this property when it is used with the specified object.
(Inherited from StyledPropertyTValue)
GetMetadata(Type) Gets the AvaloniaPropertyMetadata which applies to this property when it is used with the specified type.
(Inherited from StyledPropertyTValue)
GetMetadataT Gets the AvaloniaPropertyMetadata which applies to this property when it is used with the specified type.
(Inherited from AvaloniaProperty)
GetTypeGets the Type of the current instance.
(Inherited from Object)
IsValidValue(Object) Checks whether the value is valid for the property.
(Inherited from AvaloniaProperty)
OverrideDefaultValue(Type, TValue) Overrides the default value for the property on the specified type.
(Inherited from StyledPropertyTValue)
OverrideDefaultValueT(TValue) Overrides the default value for the property on the specified type.
(Inherited from StyledPropertyTValue)
OverrideMetadata(Type, StyledPropertyMetadataTValue) Overrides the metadata for the property on the specified type.
(Inherited from StyledPropertyTValue)
OverrideMetadataT(StyledPropertyMetadataTValue) Overrides the metadata for the property on the specified type.
(Inherited from StyledPropertyTValue)
ToString Gets the string representation of the property.
(Inherited from StyledPropertyTValue)
Unregister(Type)
(Inherited from AvaloniaProperty)

See Also