Nevron .NET Vision
NCommandContext Class Members
Properties  Methods  Events


The following tables list the members exposed by NCommandContext.

Public Constructors
 NameDescription
Public ConstructorNCommandContext ConstructorDefault constructor. Initializes a new context.  
Top
Public Properties
 NameDescription
Public PropertyContextsGets nested contexts for this context.  
Public PropertyEditorBrowsableGets/sets a value indicating whether the context will appear in the "Customize" dialog of the NCommandBarsManager.  
Public PropertyPropertiesGets/sets the command properties for this context.  
Public PropertyRangeIDGets/sets the id of the range this context belongs to.  
Public PropertyTooltipTextGets/sets the text that will be displayed when the mouse hovers a command sharing this context.  
Top
Protected Properties
 NameDescription
Protected PropertyCanRaiseEvents (Inherited from System.ComponentModel.Component)
Protected PropertyEvents (Inherited from System.ComponentModel.Component)
Top
Public Methods
 NameDescription
Public MethodCanExecute  
Public MethodCloneCreates an idenctical copy of this object  
Public MethodCreateCommand  
Public Methodstatic (Shared in Visual Basic)CreateContextCreates a new NCommandContext object with its properties initialized.  
Public MethodCreateObjRef (Inherited from System.MarshalByRefObject)
Public MethodDisposeOverloaded. Overridden.   
Public MethodExecuteExecutes the context.  
Public MethodGetCheckedChecks if commands sharing this context should be checked.  
Public MethodGetCommandsGets the commands currently sharing this context.  
Public MethodGetEnabledChecks if commands sharing this context should be enabled.  
Public MethodGetLifetimeService (Inherited from System.MarshalByRefObject)
Public MethodGetNestedContextsOverloaded. Gets all the nested contexts, including all branches of the context tree.  
Public MethodGetSerializationDataGets the serialization data for this command context  
Public MethodInitializeLifetimeService (Inherited from System.MarshalByRefObject)
Public MethodSetCheckedChecks all the commands sharing this context.  
Public MethodSetEnabledEnables all the commands sharing that context.  
Public MethodToString  
Public MethodUpdateCommandsForces the parents of all commands currently sharing this context to re-measure and refresh their commands.  
Top
Protected Methods
 NameDescription
Protected MethodCreateCommandInDesignTime  
Protected MethodCreateCommandInRunTime  
Protected MethodFinalize (Inherited from System.ComponentModel.Component)
Protected MethodGetService (Inherited from System.ComponentModel.Component)
Protected MethodMemberwiseCloneOverloaded.  (Inherited from System.MarshalByRefObject)
Protected MethodUpdateNewCommand  
Top
Public Events
 NameDescription
Public EventExecutedFired when a command has been executed.  
Public EventExecutingFired when a command is about to be executed. Set the Cancel property of the EventArgs to true to prevent the command from being executed.  
Top
See Also

Reference

NCommandContext Class
Nevron.UI.WinForm.Controls Namespace

 

 


©2022. Nevron Software LLC.

Send Feedback