Method RaiseDataContextChanged
RaiseDataContextChanged(object?, object?)
Raises the OnDataContextChanged(object?, object?) method and DataContextChanged event.
protected virtual void RaiseDataContextChanged(object? oldValue, object? newValue)
Parameters
Remarks
This method is called to notify subscribers that the data context has changed. Derived classes can override this method to provide additional behavior when the event is raised.