Skip to main content

IndexerDescriptor Class

Holds a description of a binding for AvaloniaObject's [] operator.

Definition​

Namespace: Avalonia.Data
Assembly: Avalonia.Base (in Avalonia.Base.dll)

public class IndexerDescriptor : IObservable<Object>, 
IDescription
View Source
InheritanceObject → IndexerDescriptor
ImplementsIDescription, IObservable(Object)

Constructors​

IndexerDescriptor()Initializes a new instance of the IndexerDescriptor class

Properties​

DescriptionGets a description of the binding.
ModeGets or sets the binding mode.
PriorityGets or sets the binding priority.
PropertyGets or sets the source property.
SourceGets or sets the source object.
SourceObservableGets or sets the source observable.

Methods​

Equals(Object)Determines whether the specified object is equal to the current object.
(Inherited from 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.
(Inherited from Object)
GetType()Gets the Type of the current instance.
(Inherited from Object)
MemberwiseClone()Creates a shallow copy of the current Object.
(Inherited from Object)
Subscribe(IObserver(Object))Notifies the provider that an observer is to receive notifications.
ToString()Returns a string that represents the current object.
(Inherited from Object)
WithMode(BindingMode)Modifies the binding mode.
WithPriority(BindingPriority)Modifies the binding priority.

Operators​

LogicalNot(IndexerDescriptor)Makes a two-way binding.
OnesComplement(IndexerDescriptor)Makes a two-way binding.

Extension Methods​

StreamBinding(Object)()
(Defined by StreamBindingExtensions)
ToBinding(Object)()Converts an IObservable(T) to an IBinding.
(Defined by AvaloniaObjectExtensions)

See Also​

Reference​

Avalonia.Data Namespace