UIContext::WhenActivated Method (Action^)
Visual Studio 2015
Execute the given action if the context is active. If the context is not currently active, the action will be executed when it is first activated. The action executes at most once.
Assembly: Microsoft.VisualStudio.Shell.14.0 (in Microsoft.VisualStudio.Shell.14.0.dll)
Parameters
- action
-
Type:
System::Action^
The operation to execute.
Show: