Skip to main content

AttachedProperty<TValue> Methods

Methods

AddOwner(TOwner)(StyledPropertyMetadata(TValue))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 StyledProperty(TValue))
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 StyledProperty(TValue))
GetDefaultValue(Type)Gets the default value for the property on the specified type.
(Inherited from StyledProperty(TValue))
GetHashCode()Serves 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 StyledProperty(TValue))
GetMetadata(Type)Gets the AvaloniaPropertyMetadata which applies to this property when it is used with the specified type.
(Inherited from StyledProperty(TValue))
GetMetadata(T)()Gets the AvaloniaPropertyMetadata which applies to this property when it is used with the specified type.
(Inherited from AvaloniaProperty)
GetType()Gets 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 StyledProperty(TValue))
OverrideDefaultValue(T)(TValue)Overrides the default value for the property on the specified type.
(Inherited from StyledProperty(TValue))
OverrideMetadata(Type, StyledPropertyMetadata(TValue))Overrides the metadata for the property on the specified type.
(Inherited from StyledProperty(TValue))
OverrideMetadata(T)(StyledPropertyMetadata(TValue))Overrides the metadata for the property on the specified type.
(Inherited from StyledProperty(TValue))
ToString()Gets the string representation of the property.
(Inherited from StyledProperty(TValue))
Unregister(Type)
(Inherited from AvaloniaProperty)

See Also

Reference

AttachedProperty(TValue) Class
Avalonia Namespace