ComponentOne Menus and Toolbars for WinForms
C1.Win.Command.8 Assembly / C1.Win.Command Namespace / C1CommandControl Class
Properties Methods Events


In This Topic
    C1CommandControl Class Members
    In This Topic

    The following tables list the members exposed by C1CommandControl.

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