ComponentOne Menus and Toolbars for WinForms
C1.Win.C1Command.4.8 Assembly / C1.Win.C1Command Namespace / C1CommandMenu Class
Fields Properties Methods Events


In This Topic
    C1CommandMenu Class Members
    In This Topic

    The following tables list the members exposed by C1CommandMenu.

    Public Constructors
     NameDescription
    Public ConstructorInitializes a new instance of the C1CommandMenu class.  
    Top
    Protected Fields
     NameDescription
    Protected FieldThis member is for internal use only.  
    Protected FieldThis member is for internal use only.  
    Protected FieldThis member is for internal use only.  
    Protected FieldThis member is for internal use only.  
    Protected FieldThis member is for internal use only.  
    Protected FieldThe background image layout in the menu.  
    Protected FieldThis member is for internal use only.  
    Top
    Public Properties
     NameDescription
    Public PropertyGets or sets the base background color of the menu.  
    Public PropertyGets or sets the background image displayed in the menu.  
    Public PropertyGets or sets the background image layout in the menu.  
    Public PropertyGets or sets the base background color of the highlighted item.  
    Public PropertyGets or sets the C1ContextMenu component associated with this command. (Inherited from C1.Win.C1Command.C1Command)
    Public PropertyGets or sets the command category. (Inherited from C1.Win.C1Command.C1Command)
    Public PropertyIf true, the Checked property value is toggled automatically when this command is invoked. (Inherited from C1.Win.C1Command.C1Command)
    Public PropertyGets or sets whether the command is checked. (Inherited from C1.Win.C1Command.C1Command)
    Public PropertyGets or sets the value indicating whether to close the menu when an item is clicked.  
    Public PropertyGets the collection of commandlinks.  
    Public Property (Inherited from System.ComponentModel.Component)
    Public PropertyOverridden. This property is for internal use only.  
    Public PropertyGets or sets whether the command has a drop down arrow when it is in a toolbar. (Inherited from C1.Win.C1Command.C1Command)
    Public PropertyGets or sets whether the command is enabled. (Inherited from C1.Win.C1Command.C1Command)
    Public PropertyGets or sets the font of menu.  
    Public PropertyGets or sets the text color of the menu.  
    Public PropertyGets or sets the text color of the highlighted item.  
    Public PropertyGets or sets a value indicating whether the control should hide the first delimiter.  
    Public PropertyGets or sets the value indicating whether to hide rarely used menu items.  
    Public PropertyGets or sets the command icon. (Inherited from C1.Win.C1Command.C1Command)
    Public PropertyGets or sets the command image. (Inherited from C1.Win.C1Command.C1Command)
    Public PropertyGets or sets the width of the image/checkbox bar in the menu. If set to 0, the width is calculated automatically.  
    Public PropertyGets or sets the index of the command image (in C1CommandHolder.ImageList). (Inherited from C1.Win.C1Command.C1Command)
    Public PropertyGets or sets the color to treat as transparent in a image. (Inherited from C1.Win.C1Command.C1Command)
    Public PropertyOverridden. Determines whether this command is a non-empty submenu.  
    Public PropertyDetermines the way large menus (when all items cannot fit in one column) are displayed.  
    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.C1Command.C1Command)
    Public PropertyGets or sets the name of the command. (Inherited from C1.Win.C1Command.C1Command)
    Public PropertyC1CommandHolder containing this command. (Inherited from C1.Win.C1Command.C1Command)
    Public PropertyGets or sets whether the command is pressed. (Inherited from C1.Win.C1Command.C1Command)
    Public PropertySpecifies a value indicating whether the text appears from right to left, such as when using Hebrew or Arabic fonts.  
    Public PropertyGets or sets the value indicating whether to show check marks instead of images or in a separate bar.  
    Public PropertyGets or sets the keyboard shortcut associated with the command. (Inherited from C1.Win.C1Command.C1Command)
    Public PropertyGets or sets the shortcut text associated with the command. (Inherited from C1.Win.C1Command.C1Command)
    Public PropertyIndicates whether the shortcut for this command will be shown. (Inherited from C1.Win.C1Command.C1Command)
    Public PropertyIndicates whether this command's text will be shown as tooltip. (Inherited from C1.Win.C1Command.C1Command)
    Public PropertyGets or sets the value indicating whether to show tooltip texts when mouse cursor is over menu item.  
    Public PropertyGets or sets a value indicating whether the control should show vertical separator line between C1CommandLink's image or check icon and text.  
    Public PropertyAllows to specify a caption (text and/or image) to be shown alongside the left edge of the menu.  
    Public Property (Inherited from System.ComponentModel.Component)
    Public Property  
    Public PropertyGets or sets the text of the command. (Inherited from C1.Win.C1Command.C1Command)
    Public PropertyGets or sets the tool tip text. (Inherited from C1.Win.C1Command.C1Command)
    Public PropertyArbitrary data that can be associated with the command. (Inherited from C1.Win.C1Command.C1Command)
    Public PropertyGets or sets the command visibility. (Inherited from C1.Win.C1Command.C1Command)
    Public PropertyGets or sets the visual style of the control.  
    Public PropertyGets or sets the minimum width of the menu.  
    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 Method (Inherited from System.MarshalByRefObject)
    Public MethodOverloaded. Overridden. Releases the resources used by the C1CommandMenu.  
    Public Method (Inherited from System.MarshalByRefObject)
    Public MethodGet active holder of current VisualStyle.  
    Public Method (Inherited from System.MarshalByRefObject)
    Public MethodOverridden. Invokes the command.  
    Public MethodGenerates a click event for the C1Command. (Inherited from C1.Win.C1Command.C1Command)
    Public MethodRaises the Select event for the C1Command. (Inherited from C1.Win.C1Command.C1Command)
    Public MethodThis method is for internal use only.  
    Public MethodThis method is for internal use only.  
    Public MethodThis method is for internal use only.  
    Public MethodThis method is for internal use only.  
    Public MethodRestore the VisualStyle property to its default value.  
    Public MethodFires the CommandStateQuery event, updates any changed properties. (Inherited from C1.Win.C1Command.C1Command)
    Public Method (Inherited from System.ComponentModel.Component)
    Top
    Protected Methods
     NameDescription
    Protected MethodThis method is for internal use only. (Inherited from C1.Win.C1Command.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.  
    Protected MethodThis method is for internal use only.  
    Protected MethodThis method is for internal use only.  
    Protected MethodThis method is for internal use only. (Inherited from C1.Win.C1Command.C1Command)
    Protected MethodThis method is for internal use only. (Inherited from C1.Win.C1Command.C1Command)
    Protected MethodThis method is for internal use only. (Inherited from C1.Win.C1Command.C1Command)
    Protected MethodThis method is for internal use only.  
    Protected MethodThis method is for internal use only. (Inherited from C1.Win.C1Command.C1Command)
    Protected MethodThis method is for internal use only. (Inherited from C1.Win.C1Command.C1Command)
    Protected MethodThis method is for internal use only. (Inherited from C1.Win.C1Command.C1Command)
    Protected MethodThis method is for internal use only. (Inherited from C1.Win.C1Command.C1Command)
    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. (Inherited from C1.Win.C1Command.C1Command)
    Protected MethodThis method is for internal use only.  
    Protected MethodThis method is for internal use only.  
    Protected MethodThis method is for internal use only. (Inherited from C1.Win.C1Command.C1Command)
    Protected MethodThis method is for internal use only. (Inherited from C1.Win.C1Command.C1Command)
    Protected MethodThis method is for internal use only. (Inherited from C1.Win.C1Command.C1Command)
    Protected MethodThis method is for internal use only. (Inherited from C1.Win.C1Command.C1Command)
    Protected MethodThis method is for internal use only.  
    Protected MethodThis method is for internal use only.  
    Protected MethodThis method is for internal use only. (Inherited from C1.Win.C1Command.C1Command)
    Protected MethodThis method is for internal use only. (Inherited from C1.Win.C1Command.C1Command)
    Protected MethodThis method is for internal use only. (Inherited from C1.Win.C1Command.C1Command)
    Protected MethodInvokes the VisualStyleChanged event.  
    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. (Inherited from C1.Win.C1Command.C1Command)
    Protected MethodThis method is for internal use only. (Inherited from C1.Win.C1Command.C1Command)
    Protected MethodThis method is for internal use only. (Inherited from C1.Win.C1Command.C1Command)
    Protected MethodResets the ImageTransparentColor property to its default value. (Inherited from C1.Win.C1Command.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.C1Command.C1Command)
    Protected MethodThis method is for internal use only.  
    Protected MethodThis method is for internal use only.  
    Protected MethodIndicates whether the C1ContextMenu has a default value. (Inherited from C1.Win.C1Command.C1Command)
    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. (Inherited from C1.Win.C1Command.C1Command)
    Protected MethodThis method is for internal use only. (Inherited from C1.Win.C1Command.C1Command)
    Protected MethodReturns true if this ImageTransparentColor property has changed; otherwise, returns false. (Inherited from C1.Win.C1Command.C1Command)
    Protected MethodIndicates whether the ShowToolTips has a default value.  
    Protected MethodThis method is for internal use only.  
    Protected MethodIndicates whether the SuperTooltip has a default value.  
    Protected MethodIndicates whether the VisualStyle has a default value.  
    Protected MethodIndicates whether the VisualStyleBase has a default value.  
    Top
    Public Events
     NameDescription
    Public EventOccurs when the value of the BackColor property changes.  
    Public EventOccurs when the value of the BackgroundImage property changes.  
    Public EventOccurs when the value of the BackHiColor property changes.  
    Public EventEvent fired when the Category property of command is changed. (Inherited from C1.Win.C1Command.C1Command)
    Public EventEvent fired when the Checked property has changed. (Inherited from C1.Win.C1Command.C1Command)
    Public EventEvent fired when the command is invoked by the user. (Inherited from C1.Win.C1Command.C1Command)
    Public EventOccurs after the command's submenu is closed.  
    Public EventEvent fired after a command link was linked to this command. (Inherited from C1.Win.C1Command.C1Command)
    Public EventEvent fired after a command link was unlinked from this command. (Inherited from C1.Win.C1Command.C1Command)
    Public EventEvent fired when the command state has to be verified. (Inherited from C1.Win.C1Command.C1Command)
    Public EventOccurs when the current command link changes.  
    Public Event (Inherited from System.ComponentModel.Component)
    Public EventOccurs when an owner drawn menu or toolbar needs to be drawn.  
    Public EventOccurs when an owner drawn link needs to be drawn.  
    Public EventEvent fired when the drop down arrow is clicked on the toolbar button. (Inherited from C1.Win.C1Command.C1Command)
    Public EventEvent fired when the Enabled property of command is changed. (Inherited from C1.Win.C1Command.C1Command)
    Public EventEvent fired when the Font property of menu is changed.  
    Public EventOccurs when the value of the ForeColor property changes.  
    Public EventOccurs when the value of the ForeHiColor property changes.  
    Public EventOccurs when the value of the HideNonRecentLinks property changes.  
    Public EventEvent fired when the Image or ImageIndex or Icon property of command is changed. (Inherited from C1.Win.C1Command.C1Command)
    Public EventEvent fired when the LargeMenuDisplay property of menu is changed.  
    Public EventOccurs when an owner drawn link needs to layout its text, image and control within the link bounds.  
    Public EventOccurs when an owner drawn link needs to be measured.  
    Public EventOccurs before the command's submenu is displayed.  
    Public EventEvent fired when the Pressed property has changed. (Inherited from C1.Win.C1Command.C1Command)
    Public EventEvent fired when the command is selected by the user. (Inherited from C1.Win.C1Command.C1Command)
    Public EventEvent fired when the ShowShortcut property of command is changed. (Inherited from C1.Win.C1Command.C1Command)
    Public EventEvent fired when the ShowTextAsToolTip property of command is changed. (Inherited from C1.Win.C1Command.C1Command)
    Public EventEvent fired when the ShowToolTips property of menu is changed.  
    Public EventEvent fired when the SideCaption property of menu is changed.  
    Public EventEvent fired when the Text property of command is changed. (Inherited from C1.Win.C1Command.C1Command)
    Public EventEvent fired when the ToolTip property of command is changed. (Inherited from C1.Win.C1Command.C1Command)
    Public EventEvent fired when the Visible property of command is changed. (Inherited from C1.Win.C1Command.C1Command)
    Public EventOccurs when the VisualStyle property has changed.  
    Public EventEvent fired when the Width property of menu is changed.  
    Top
    See Also