View. On Mode Changed(EventArgs) Method
Raises the ModeChanged event.
protected: virtual void OnModeChanged(EventArgs ^ e);
protected virtual void OnModeChanged (EventArgs e);
abstract member OnModeChanged : EventArgs -> unit override this.OnModeChanged : EventArgs -> unit
Protected Overridable Sub OnModeChanged (e As EventArgs)
The OnModeChanged method also allows derived classes to handle the event without attaching a delegate. This is the preferred technique for handling the event in a derived class.