IndexerDescriptor Class
Definition
Holds a description of a binding for Avalonia.AvaloniaObject's [] operator.
public class IndexerDescriptor
Constructors
| Name | Description |
|---|---|
| IndexerDescriptor | No summary available. |
IndexerDescriptor Constructor
public IndexerDescriptor()
Methods
| Name | Description |
|---|---|
| Subscribe | No summary available. |
| WithMode | Modifies the binding mode. |
| WithPriority | Modifies the binding priority. |
Subscribe Method
public IDisposable Subscribe(IObserver<object> observer)
Parameters
observer IObserver<object>
Returns
IDisposable
WithMode Method
Modifies the binding mode.
public Avalonia.Data.IndexerDescriptor WithMode(Avalonia.Data.BindingMode mode)
Parameters
mode Avalonia.Data.BindingMode
The binding mode.
Returns
Avalonia.Data.IndexerDescriptor
The object that the method was called on.
WithPriority Method
Modifies the binding priority.
public Avalonia.Data.IndexerDescriptor WithPriority(Avalonia.Data.BindingPriority priority)
Parameters
priority Avalonia.Data.BindingPriority
The binding priority.
Returns
Avalonia.Data.IndexerDescriptor
The object that the method was called on.
Properties
| Name | Description |
|---|---|
| Description | Gets a description of the binding. |
| Mode | Gets or sets the binding mode. |
| Priority | Gets or sets the binding priority. |
| Property | Gets or sets the source property. |
| Source | Gets or sets the source object. |
| SourceObservable | Gets or sets the source observable. |
Description Property
Gets a description of the binding.
public string Description { get; set; }
Mode Property
Gets or sets the binding mode.
public Avalonia.Data.BindingMode Mode { get; set; }
Priority Property
Gets or sets the binding priority.
public Avalonia.Data.BindingPriority Priority { get; set; }
Property Property
Gets or sets the source property.
public Avalonia.AvaloniaProperty Property { get; set; }
Source Property
Gets or sets the source object.
public Avalonia.AvaloniaObject Source { get; set; }
SourceObservable Property
Gets or sets the source observable.
public IObservable<object> SourceObservable { get; set; }
Remarks
If null, then Avalonia.Data.IndexerDescriptor.Source.Avalonia.Data.IndexerDescriptor.Property will be used.