Docking Tab for WinForms | ComponentOne
C1.Win.Command Namespace / C1Command Class
Fields Properties Methods Events


In This Topic
    C1Command Class Members
    In This Topic

    The following tables list the members exposed by C1Command.

    Public Constructors
     NameDescription
    Public ConstructorInitializes a new instance of the C1Command class.  
    Top
    Public Fields
     NameDescription
    Public Fieldstatic (Shared in Visual Basic)Empty command  
    Top
    Public Properties
     NameDescription
    Public PropertyGets or sets the C1ContextMenu component associated with this command.  
    Public PropertyGets or sets the command category.  
    Public PropertyIf true, the Checked property value is toggled automatically when this command is invoked.  
    Public PropertyGets or sets whether the command is checked.  
    Public Property (Inherited from System.ComponentModel.Component)
    Public PropertyGets or sets whether the command has a drop down arrow when it is in a toolbar.  
    Public PropertyGets or sets whether the command is enabled.  
    Public PropertyGets or sets the command icon.  
    Public PropertyGets or sets the command image.  
    Public PropertyGets or sets the index of the command image (in C1CommandHolder.ImageList).  
    Public PropertyGets or sets the color to treat as transparent in a image.  
    Public PropertyDetermines whether this command is a non-empty submenu.  
    Public PropertyReturns the value of the mnemonic character, or the character following the ampersand, to be used as an access key.  
    Public PropertyGets or sets the name of the command.  
    Public PropertyC1CommandHolder containing this command.  
    Public PropertyGets or sets whether the command is pressed.  
    Public PropertyGets or sets the keyboard shortcut associated with the command.  
    Public PropertyGets or sets the shortcut text associated with the command.  
    Public PropertyIndicates whether the shortcut for this command will be shown.  
    Public PropertyIndicates whether this command's text will be shown as tooltip.  
    Public Property (Inherited from System.ComponentModel.Component)
    Public PropertyGets or sets the text of the command.  
    Public PropertyGets or sets the tool tip text.  
    Public PropertyArbitrary data that can be associated with the command.  
    Public PropertyGets or sets the command visibility.  
    Top
    Protected Properties
    Public Methods
     NameDescription
    Public MethodOverloaded. Overridden. Releases the resources used by the C1Command.  
    Public Method (Inherited from System.MarshalByRefObject)
    Public Method (Inherited from System.MarshalByRefObject)
    Public MethodInvokes the command.  
    Public MethodGenerates a click event for the C1Command.  
    Public MethodRaises the Select event for the C1Command.  
    Public MethodFires the CommandStateQuery event, updates any changed properties.  
    Public Method (Inherited from System.ComponentModel.Component)
    Top
    Protected Methods
     NameDescription
    Protected MethodThis method is for internal use only.  
    Protected Method (Inherited from System.ComponentModel.Component)
    Protected Method (Inherited from System.ComponentModel.Component)
    Protected MethodOverloaded.  (Inherited from System.MarshalByRefObject)
    Protected MethodThis method is for internal use only.  
    Protected MethodThis method is for internal use only.  
    Protected MethodThis method is for internal use only.  
    Protected MethodThis method is for internal use only.  
    Protected MethodThis method is for internal use only.  
    Protected MethodThis method is for internal use only.  
    Protected MethodThis method is for internal use only.  
    Protected MethodThis method is for internal use only.  
    Protected MethodThis method is for internal use only.  
    Protected MethodThis method is for internal use only.  
    Protected MethodThis method is for internal use only.  
    Protected MethodThis method is for internal use only.  
    Protected MethodThis method is for internal use only.  
    Protected MethodThis method is for internal use only.  
    Protected MethodThis method is for internal use only.  
    Protected MethodRestore the C1ContextMenu property to its default value.  
    Protected MethodThis method is for internal use only.  
    Protected MethodThis method is for internal use only.  
    Protected MethodResets the ImageTransparentColor property to its default value.  
    Protected MethodReturns true if the change has actually been made and the control is not initializing (i.e. on change should be fired)  
    Protected MethodIndicates whether the C1ContextMenu has a default value.  
    Protected MethodThis method is for internal use only.  
    Protected MethodThis method is for internal use only.  
    Protected MethodReturns true if this ImageTransparentColor property has changed; otherwise, returns false.  
    Top
    Public Events
     NameDescription
    Public EventEvent fired when the Category property of command is changed.  
    Public EventEvent fired when the Checked property has changed.  
    Public EventEvent fired when the command is invoked by the user.  
    Public EventEvent fired after a command link was linked to this command.  
    Public EventEvent fired after a command link was unlinked from this command.  
    Public EventEvent fired when the command state has to be verified.  
    Public Event (Inherited from System.ComponentModel.Component)
    Public EventEvent fired when the drop down arrow is clicked on the toolbar button.  
    Public EventEvent fired when the Enabled property of command is changed.  
    Public EventEvent fired when the Image or ImageIndex or Icon property of command is changed.  
    Public EventEvent fired when the Pressed property has changed.  
    Public EventEvent fired when the command is selected by the user.  
    Public EventEvent fired when the ShowShortcut property of command is changed.  
    Public EventEvent fired when the ShowTextAsToolTip property of command is changed.  
    Public EventEvent fired when the Text property of command is changed.  
    Public EventEvent fired when the ToolTip property of command is changed.  
    Public EventEvent fired when the Visible property of command is changed.  
    Top
    See Also