Back Help
This page contains reference documentation for the TestContext function. This function sets the UI state for commands which require a certain node type to be selected in order to function properly. If any nodes of type 'NodeType' are selected, the hint is printed directly. Otherwise, the hint is printed in conjunction with information on how to enable the command.
static int TestContext( CommandPresentationModuleInfo CommandInfo, TypeInformation NodeType, string CommandHint )
Function parameters are as follows: