Method RaiseIsModalChanging
RaiseIsModalChanging(bool, bool)
Called by the framework to raise the IsModalChanging event.
public bool RaiseIsModalChanging(bool oldIsModal, bool newIsModal)
Parameters
oldIsModalboolThe current value of IsModal.
newIsModalboolThe new value of IsModal (true = becoming modal/top, false = no longer modal).
Returns
Remarks
This method implements the Cancellable Work Pattern. It calls the protected virtual method first, then raises the event if not canceled.