Skip to main content

DataContextChanged Event

Occurs when the DataContext property changes.

Definition​

Namespace: Avalonia
Assembly: Avalonia.Base (in Avalonia.Base.dll)

public event EventHandler DataContextChanged
View Source

Value​

EventHandler

Remarks​

This event will be raised when the DataContext property has changed and all subscribers to that change have been notified.

See Also​

Reference​

StyledElement Class
Avalonia Namespace