Event Activated
Event raised when the user has performed an action (e.g. Activate) causing the View to change state or preparing it for interaction.
public event EventHandler<EventArgs<ICommandContext?>>? Activated
Returns
- EventHandler<EventArgs<ICommandContext>>
- Event raised when the user has performed an action (e.g. ) causing the View to change state or preparing it for interaction.
Remarks
Unlike Activating, this event cannot be cancelled. It is raised after the View has activated.
When to use: Subscribe to Activated for fire-and-forget side-effects — things that happen after the activation has completed and cannot be cancelled. This is the right choice for the vast majority of state-change–reaction handlers.