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>
graph BT
Type-->Base0["SingleSubscriberObservableBase<object>"]
Base0-->Base1["object"]
Type-.->Interface0["IObservable<object>"]
Type-.->Interface1["IDisposable"]
Type-.->Interface2["IBinding"]
click Interface2 "/api/Avalonia.Data/IBinding"
Type-.->Interface3["IDescription"]
click Interface3 "/api/Avalonia/IDescription"
Type-.->Interface4["ISubject<object>"]
Type-.->Interface5["ISetterValue"]
click Interface5 "/api/Avalonia.Styling/ISetterValue"
Type["TemplateBinding"]
class Type type-node
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 |