Summary
A XAML binding to a property on a control's templated parent.
- Namespace
- Avalonia
.Data - Interfaces
-
- IObservable
<object> - IDisposable
- IBinding
- IDescription
- ISubject
<object> - ISetterValue
- IObservable
- Base Types
-
- object
- Single
Subscriber Observable Base <object>
Syntax
public class TemplateBinding : SingleSubscriberObservableBase<object>, IObservable<object>,
IDisposable, IBinding, IDescription, ISubject<object>, ISetterValue
Constructors
Name | Summary |
---|---|
TemplateBinding |
|
TemplateBinding |
Properties
Name | Value | Summary |
---|---|---|
Converter | IValueConverter? |
Gets or sets the
IValueConverter to use.
|
ConverterParameter | object? |
Gets or sets a parameter to pass to
Converter .
|
Description | string |
Gets the description of the object.
|
Mode | BindingMode |
Gets or sets the binding mode.
|
Property | AvaloniaProperty? |
Gets or sets the name of the source property on the templated parent.
|
Methods
Name | Value | Summary |
---|---|---|
Initiate |
InstancedBinding | |
ProvideValue |
IBinding | |
Subscribed |
void | |
Unsubscribed |
void |
Extension Methods
Name | Value | Summary |
---|---|---|
StreamBinding |
T | |
ToBinding |
IBinding |
Converts an
IObservable<T> to an IBinding .
|
ToBindingValue |
IObservable |