StyledElement.

DataContextChanged Event

Summary

Occurs when the DataContext property changes.
Namespace
Avalonia
Containing Type
StyledElement
Event Type
EventHandler?

Syntax

public event EventHandler? DataContextChanged

Remarks

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