Name | Description | |
---|---|---|
NCommandContext Constructor | Default constructor. Initializes a new context. |
The following tables list the members exposed by NCommandContext.
Name | Description | |
---|---|---|
NCommandContext Constructor | Default constructor. Initializes a new context. |
Name | Description | |
---|---|---|
Contexts | Gets nested contexts for this context. | |
EditorBrowsable | Gets/sets a value indicating whether the context will appear in the "Customize" dialog of the NCommandBarsManager. | |
Properties | Gets/sets the command properties for this context. | |
RangeID | Gets/sets the id of the range this context belongs to. | |
TooltipText | Gets/sets the text that will be displayed when the mouse hovers a command sharing this context. |
Name | Description | |
---|---|---|
CanRaiseEvents | (Inherited from System.ComponentModel.Component) | |
Events | (Inherited from System.ComponentModel.Component) |
Name | Description | |
---|---|---|
CanExecute | ||
Clone | Creates an idenctical copy of this object | |
CreateCommand | ||
CreateContext | Creates a new NCommandContext object with its properties initialized. | |
CreateObjRef | (Inherited from System.MarshalByRefObject) | |
Dispose | Overloaded. Overridden. | |
Execute | Executes the context. | |
GetChecked | Checks if commands sharing this context should be checked. | |
GetCommands | Gets the commands currently sharing this context. | |
GetEnabled | Checks if commands sharing this context should be enabled. | |
GetLifetimeService | (Inherited from System.MarshalByRefObject) | |
GetNestedContexts | Overloaded. Gets all the nested contexts, including all branches of the context tree. | |
GetSerializationData | Gets the serialization data for this command context | |
InitializeLifetimeService | (Inherited from System.MarshalByRefObject) | |
SetChecked | Checks all the commands sharing this context. | |
SetEnabled | Enables all the commands sharing that context. | |
ToString | Overridden. | |
UpdateCommands | Forces the parents of all commands currently sharing this context to re-measure and refresh their commands. |
Name | Description | |
---|---|---|
CreateCommandInDesignTime | ||
CreateCommandInRunTime | ||
Finalize | (Inherited from System.ComponentModel.Component) | |
GetService | (Inherited from System.ComponentModel.Component) | |
MemberwiseClone | Overloaded. (Inherited from System.MarshalByRefObject) | |
UpdateNewCommand |
Name | Description | |
---|---|---|
Executed | Fired when a command has been executed. | |
Executing | Fired when a command is about to be executed. Set the Cancel property of the EventArgs to true to prevent the command from being executed. |