Nevron .NET Vision
NCommand Class Members
Properties  Methods  Events


The following tables list the members exposed by NCommand.

Public Constructors
 NameDescription
Public ConstructorNCommand ConstructorOverloaded.   
Top
Public Properties
 NameDescription
Public PropertyCheckedGets/sets a value whether the command is checked.  
Public PropertyCommandsGets the commands associated with this command.  
Public PropertyContainer (Inherited from System.ComponentModel.Component)
Public PropertyContextGets the context shared by this command.  
Public PropertyEnabledGets/sets a value whether the command is enabled.  
Public PropertyManagerGets a refrence to a NCommandBarsManager object. Might be null.  
Public PropertyOwnMeasureGets/sets a value whether measuring will be handled by the command itself.  
Public PropertyOwnPaintGets/sets a value whether painting will be handled by the command itself.  
Public PropertyPaletteGets the NPalette used to render the control.  
Public PropertyParentGets the NCommandParent that contains the command.  
Public PropertyParentCollectionGets the NCommandCollection that contains the command.  
Public PropertyParentCommandGets the NCommand object that contains this command. Might be null.  
Public PropertyPropertiesGets/sets the common properties for the NCommand.  
Public PropertyPropertyPageGets the NPropertyPage object used to visually edit the NCommand object.  
Public PropertyRendererGets the Parent's renderer.  
Public PropertySite (Inherited from System.ComponentModel.Component)
Public PropertyTopLevelCommandGets the top-level command that contains this command.  
Public PropertyTopLevelParentGets the top-level parent for this command. Typically this is a NToolbar object or a NMenuWindow for context menus.  
Public PropertyVisualStateGets the parent-dependant state of the NCommand.  
Top
Protected Properties
 NameDescription
Protected PropertyCanRaiseEvents (Inherited from System.ComponentModel.Component)
Protected PropertyDesignMode (Inherited from System.ComponentModel.Component)
Protected PropertyEvents (Inherited from System.ComponentModel.Component)
Top
Public Methods
 NameDescription
Public MethodClone  
Public MethodContainsSearches down in the command tree whether this command or one of its children contains the specified command.  
Public MethodCreateObjRef (Inherited from System.MarshalByRefObject)
Public MethodDisposeOverloaded. Overridden.   
Public Methodstatic (Shared in Visual Basic)FromContextInitializes a new NCommand object from a given context.  
Public MethodGetLifetimeService (Inherited from System.MarshalByRefObject)
Public MethodGetSerializationData  
Public MethodInitializeLifetimeService (Inherited from System.MarshalByRefObject)
Public MethodPerformClick  
Public MethodToString  
Public MethodUpdateFromContext  
Top
Protected Methods
 NameDescription
Protected MethodFinalize (Inherited from System.ComponentModel.Component)
Protected MethodGetService (Inherited from System.ComponentModel.Component)
Protected MethodMemberwiseCloneOverloaded.  (Inherited from System.MarshalByRefObject)
Top
Public Events
 NameDescription
Public EventClickFired when the NCommand is clicked(executed).  
Public EventClosePopupFired when the NCommand closes its child menu.  
Public EventDeselectFired when the NCommand is unhovered(deselected).  
Public EventDisposed (Inherited from System.ComponentModel.Component)
Public EventMeasureFired when the NCommand needs measuring (works only if the "OwnMeasure" flag is set to true).  
Public EventPaintFired when the NCommand needs painting (works only if the "OwnPaint" flag is set to true).  
Public EventPopupFired when the NCommand is about to show its child menu.  
Public EventQueryUIStateFired just before the command is painted. Use this event if you want to dynamically update its state.  
Public EventSelectFired when the NCommand is hovered(selected).  
Public EventTooltipRequestFires when the Tooltip was requested.  
Top
See Also

Reference

NCommand Class
Nevron.UI.WinForm.Controls Namespace

 

 


©2021. Nevron Software LLC.

Send Feedback