Method RaiseActivating
RaiseActivating(ICommandContext?)
Called when the user has performed an action (e.g. Activate) causing the View to change state or preparing it for interaction. Calls OnActivating(CommandEventArgs) which can be cancelled; if not cancelled raises Accepting. event. The default Activate handler calls this method.
protected virtual bool? RaiseActivating(ICommandContext? ctx)
Parameters
ctxICommandContext
Returns
- bool?
null if no event was raised; input processing should continue. false if the event was raised and was not handled (or cancelled); input processing should continue. true if the event was raised and handled (or cancelled); input processing should stop.
Remarks
The Activating event should be raised after the state of the View has been changed and before see Accepting.