Skip to main content

AvaloniaProperty Methods

Methods

Bind()Returns a binding accessor that can be passed to AvaloniaObject's [] operator to initiate a binding.
Equals(AvaloniaProperty)Indicates whether the current object is equal to another object of the same type.
Equals(Object)Determines whether the specified object is equal to the current object.
(Overrides Object.Equals(Object))
Finalize()Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
GetHashCode()Serves as the default hash function.
(Overrides Object.GetHashCode())
GetMetadata(AvaloniaObject)Gets the AvaloniaPropertyMetadata which applies to this property when it is used with the specified object.
GetMetadata(Type)Gets the AvaloniaPropertyMetadata which applies to this property when it is used with the specified type.
GetMetadata(T)()Gets the AvaloniaPropertyMetadata which applies to this property when it is used with the specified type.
GetType()Gets the Type of the current instance.
(Inherited from Object)
IsValidValue(Object)Checks whether the value is valid for the property.
MemberwiseClone()Creates a shallow copy of the current Object.
(Inherited from Object)
Register(TOwner, TValue)(String, TValue, Boolean, BindingMode, Func(TValue, Boolean), Func(AvaloniaObject, TValue, TValue), Boolean)Registers a AvaloniaProperty.
RegisterAttached(THost, TValue)(String, Type, TValue, Boolean, BindingMode, Func(TValue, Boolean), Func(AvaloniaObject, TValue, TValue))Registers an attached AvaloniaProperty.
RegisterAttached(TOwner, THost, TValue)(String, TValue, Boolean, BindingMode, Func(TValue, Boolean), Func(AvaloniaObject, TValue, TValue))Registers an attached AvaloniaProperty.
RegisterDirect(TOwner, TValue)(String, Func(TOwner, TValue), Action(TOwner, TValue), TValue, BindingMode, Boolean)Registers a direct AvaloniaProperty.
ToString()Gets the string representation of the property.
(Overrides Object.ToString())
Unregister(Type) 

See Also

Reference

AvaloniaProperty Class
Avalonia Namespace