TemplateBinding Class

Summary

A XAML binding to a property on a control's templated parent.
Namespace
Avalonia.Data
Interfaces
Base Types
TemplateBinding
SingleSubscriberObservableBase
object
IObservable
IDisposable
ISubject

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