AvaloniaObjectExtensions Class

Summary

Provides extension methods for AvaloniaObject and related classes.
Namespace
Avalonia
Base Types
  • object
graph BT Type-->Base0["object"] Type["AvaloniaObjectExtensions"] class Type type-node

Syntax

public static class AvaloniaObjectExtensions

Methods

Name Value Summary
Bind(IAvaloniaObject, AvaloniaProperty, IObservable<BindingValue<object>>, BindingPriority) IDisposable
Binds a AvaloniaProperty to an observable.
static
Bind<T>(IAvaloniaObject, AvaloniaProperty<T>, IObservable<BindingValue<T>>, BindingPriority) IDisposable
Binds a AvaloniaProperty to an observable.
static
GetBindingObservable(IAvaloniaObject, AvaloniaProperty) IObservable<BindingValue<object>>
Gets an observable for a AvaloniaProperty.
static
GetBindingObservable<T>(IAvaloniaObject, AvaloniaProperty<T>) IObservable<BindingValue<T>>
Gets an observable for a AvaloniaProperty.
static
GetBindingSubject(IAvaloniaObject, AvaloniaProperty, BindingPriority) ISubject<BindingValue<object>>
Gets a subject for a AvaloniaProperty.
static
GetBindingSubject<T>(IAvaloniaObject, AvaloniaProperty<T>, BindingPriority) ISubject<BindingValue<T>>
Gets a subject for a AvaloniaProperty.
static
GetObservable(IAvaloniaObject, AvaloniaProperty) IObservable<object>
Gets an observable for a AvaloniaProperty.
static
GetObservable<T>(IAvaloniaObject, AvaloniaProperty<T>) IObservable<T>
Gets an observable for a AvaloniaProperty.
static
GetPropertyChangedObservable(IAvaloniaObject, AvaloniaProperty) IObservable<AvaloniaPropertyChangedEventArgs>
Gets an observable that listens for property changed events for an AvaloniaProperty.
static
GetSubject(IAvaloniaObject, AvaloniaProperty, BindingPriority) ISubject<object>
Gets a subject for a AvaloniaProperty.
static
GetSubject<T>(IAvaloniaObject, AvaloniaProperty<T>, BindingPriority) ISubject<T>
Gets a subject for a AvaloniaProperty.
static
ToBinding<T>(IObservable<T>) IBinding
Converts an IObservable<T> to an IBinding.
static