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


In This Topic
    C1ContextMenu Class Members
    In This Topic

    The following tables list the members exposed by C1ContextMenu.

    Public Constructors
     NameDescription
    Public ConstructorA context menu.  
    Top
    Protected Fields
     NameDescription
    Protected FieldThis member is for internal use only. (Inherited from C1.Win.Command.C1CommandMenu)
    Protected FieldThis member is for internal use only. (Inherited from C1.Win.Command.C1CommandMenu)
    Protected FieldThis member is for internal use only. (Inherited from C1.Win.Command.C1CommandMenu)
    Protected FieldThis member is for internal use only. (Inherited from C1.Win.Command.C1CommandMenu)
    Protected FieldThis member is for internal use only. (Inherited from C1.Win.Command.C1CommandMenu)
    Protected FieldThe background image layout in the menu. (Inherited from C1.Win.Command.C1CommandMenu)
    Protected FieldThis member is for internal use only. (Inherited from C1.Win.Command.C1CommandMenu)
    Top
    Public Properties
     NameDescription
    Public PropertyGets or sets the base background color of the menu. (Inherited from C1.Win.Command.C1CommandMenu)
    Public PropertyGets or sets the background image displayed in the menu. (Inherited from C1.Win.Command.C1CommandMenu)
    Public PropertyGets or sets the background image layout in the menu. (Inherited from C1.Win.Command.C1CommandMenu)
    Public PropertyGets or sets the base background color of the highlighted item. (Inherited from C1.Win.Command.C1CommandMenu)
    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 to close the menu when an item is clicked. (Inherited from C1.Win.Command.C1CommandMenu)
    Public PropertyGets the collection of commandlinks. (Inherited from C1.Win.Command.C1CommandMenu)
    Public Property (Inherited from System.ComponentModel.Component)
    Public PropertyThis property is for internal use only. (Inherited from C1.Win.Command.C1CommandMenu)
    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 PropertyGets or sets whether the command is enabled. (Inherited from C1.Win.Command.C1Command)
    Public PropertyGets or sets the font of menu. (Inherited from C1.Win.Command.C1CommandMenu)
    Public PropertyGets or sets the text color of the menu. (Inherited from C1.Win.Command.C1CommandMenu)
    Public PropertyGets or sets the text color of the highlighted item. (Inherited from C1.Win.Command.C1CommandMenu)
    Public PropertyGets or sets a value indicating whether the control should hide the first delimiter. (Inherited from C1.Win.Command.C1CommandMenu)
    Public PropertyGets or sets the value indicating whether to hide rarely used menu items. (Inherited from C1.Win.Command.C1CommandMenu)
    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 width of the image/checkbox bar in the menu. If set to 0, the width is calculated automatically. (Inherited from C1.Win.Command.C1CommandMenu)
    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.C1CommandMenu)
    Public PropertyDetermines the way large menus (when all items cannot fit in one column) are displayed. (Inherited from C1.Win.Command.C1CommandMenu)
    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 PropertyOverridden.   
    Public PropertyGets or sets the value indicating whether to show check marks instead of images or in a separate bar. (Inherited from C1.Win.Command.C1CommandMenu)
    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 PropertyGets or sets the value indicating whether to show tooltip texts when mouse cursor is over menu item. (Inherited from C1.Win.Command.C1CommandMenu)
    Public PropertyGets or sets a value indicating whether the control should show vertical separator line between C1CommandLink's image or check icon and text. (Inherited from C1.Win.Command.C1CommandMenu)
    Public PropertyAllows to specify a caption (text and/or image) to be shown alongside the left edge of the menu. (Inherited from C1.Win.Command.C1CommandMenu)
    Public Property (Inherited from System.ComponentModel.Component)
    Public PropertyGets the control that is displaying the shortcut menu.  
    Public Property (Inherited from C1.Win.Command.C1CommandMenu)
    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)
    Public PropertyGets or sets the minimum width of the menu. (Inherited from C1.Win.Command.C1CommandMenu)
    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 MethodCloses the currently open context menu if there is one.  
    Public MethodOverloaded. Overridden.   
    Public Method (Inherited from System.MarshalByRefObject)
    Public Method (Inherited from System.MarshalByRefObject)
    Public MethodInvokes the command. (Inherited from C1.Win.Command.C1CommandMenu)
    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 MethodThis method is for internal use only. (Inherited from C1.Win.Command.C1CommandMenu)
    Public MethodThis method is for internal use only. (Inherited from C1.Win.Command.C1CommandMenu)
    Public MethodThis method is for internal use only. (Inherited from C1.Win.Command.C1CommandMenu)
    Public MethodThis method is for internal use only. (Inherited from C1.Win.Command.C1CommandMenu)
    Public MethodShows the menu at the specified location.  
    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 MethodOverridden. This method is for internal use only.  
    Protected MethodOverridden. This method is for internal use only.  
    Protected MethodOverridden. This method is for internal use only.  
    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.C1CommandMenu)
    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.C1CommandMenu)
    Protected MethodOverridden. This method is for internal use only.  
    Protected MethodOverridden. This method is for internal use only.  
    Protected MethodThis method is for internal use only. (Inherited from C1.Win.Command.C1CommandMenu)
    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.C1CommandMenu)
    Protected MethodThis method is for internal use only. (Inherited from C1.Win.Command.C1CommandMenu)
    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.C1CommandMenu)
    Protected MethodThis method is for internal use only. (Inherited from C1.Win.Command.C1CommandMenu)
    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.C1CommandMenu)
    Protected MethodThis method is for internal use only. (Inherited from C1.Win.Command.C1CommandMenu)
    Protected MethodThis method is for internal use only. (Inherited from C1.Win.Command.C1CommandMenu)
    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 MethodThis method is for internal use only. (Inherited from C1.Win.Command.C1CommandMenu)
    Protected MethodThis method is for internal use only. (Inherited from C1.Win.Command.C1CommandMenu)
    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.C1CommandMenu)
    Protected MethodThis method is for internal use only. (Inherited from C1.Win.Command.C1CommandMenu)
    Protected MethodThis method is for internal use only. (Inherited from C1.Win.Command.C1CommandMenu)
    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)
    Protected MethodIndicates whether the ShowToolTips has a default value. (Inherited from C1.Win.Command.C1CommandMenu)
    Protected MethodThis method is for internal use only. (Inherited from C1.Win.Command.C1CommandMenu)
    Protected MethodIndicates whether the SuperTooltip has a default value. (Inherited from C1.Win.Command.C1CommandMenu)
    Top
    Public Events
     NameDescription
    Public EventOccurs when the value of the BackColor property changes. (Inherited from C1.Win.Command.C1CommandMenu)
    Public EventOccurs when the value of the BackgroundImage property changes. (Inherited from C1.Win.Command.C1CommandMenu)
    Public EventOccurs when the value of the BackHiColor property changes. (Inherited from C1.Win.Command.C1CommandMenu)
    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 EventOccurs after the command's submenu is closed. (Inherited from C1.Win.Command.C1CommandMenu)
    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 EventOccurs when the current command link changes. (Inherited from C1.Win.Command.C1CommandMenu)
    Public Event (Inherited from System.ComponentModel.Component)
    Public EventOccurs when an owner drawn menu or toolbar needs to be drawn. (Inherited from C1.Win.Command.C1CommandMenu)
    Public EventOccurs when an owner drawn link needs to be drawn. (Inherited from C1.Win.Command.C1CommandMenu)
    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 Font property of menu is changed. (Inherited from C1.Win.Command.C1CommandMenu)
    Public EventOccurs when the value of the ForeColor property changes. (Inherited from C1.Win.Command.C1CommandMenu)
    Public EventOccurs when the value of the ForeHiColor property changes. (Inherited from C1.Win.Command.C1CommandMenu)
    Public EventOccurs when the value of the HideNonRecentLinks property changes. (Inherited from C1.Win.Command.C1CommandMenu)
    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 LargeMenuDisplay property of menu is changed. (Inherited from C1.Win.Command.C1CommandMenu)
    Public EventOccurs when an owner drawn link needs to layout its text, image and control within the link bounds. (Inherited from C1.Win.Command.C1CommandMenu)
    Public EventOccurs when an owner drawn link needs to be measured. (Inherited from C1.Win.Command.C1CommandMenu)
    Public EventOccurs before the command's submenu is displayed. (Inherited from C1.Win.Command.C1CommandMenu)
    Public EventEvent fired when the Pressed property has changed. (Inherited from C1.Win.Command.C1Command)
    Public EventThis event is for internal use only.  
    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 ShowToolTips property of menu is changed. (Inherited from C1.Win.Command.C1CommandMenu)
    Public EventEvent fired when the SideCaption property of menu is changed. (Inherited from C1.Win.Command.C1CommandMenu)
    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)
    Public EventEvent fired when the Width property of menu is changed. (Inherited from C1.Win.Command.C1CommandMenu)
    Top
    See Also