Table of Contents

Class WeakEvents

Namespace
Avalonia.Utilities
Assembly
Avalonia.Base.dll
public class WeakEvents
Inheritance
WeakEvents
Inherited Members

Constructors

WeakEvents()

public WeakEvents()

Fields

AvaloniaPropertyChanged

Represents PropertyChanged event from AvaloniaObject

public static readonly WeakEvent<AvaloniaObject, AvaloniaPropertyChangedEventArgs> AvaloniaPropertyChanged

Field Value

WeakEvent<AvaloniaObject, AvaloniaPropertyChangedEventArgs>

CollectionChanged

Represents CollectionChanged event from INotifyCollectionChanged

public static readonly WeakEvent<INotifyCollectionChanged, NotifyCollectionChangedEventArgs> CollectionChanged

Field Value

WeakEvent<INotifyCollectionChanged, NotifyCollectionChangedEventArgs>

CommandCanExecuteChanged

Represents CanExecuteChanged event from ICommand

public static readonly WeakEvent<ICommand, EventArgs> CommandCanExecuteChanged

Field Value

WeakEvent<ICommand, EventArgs>

ThreadSafePropertyChanged

Represents PropertyChanged event from INotifyPropertyChanged with auto-dispatching to the UI thread

public static readonly WeakEvent<INotifyPropertyChanged, PropertyChangedEventArgs> ThreadSafePropertyChanged

Field Value

WeakEvent<INotifyPropertyChanged, PropertyChangedEventArgs>