TemplateBinding Class

Summary

A XAML binding to a property on a control's templated parent.
Namespace
Avalonia.Data
Interfaces
Base Types
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

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

Extension Methods