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


In This Topic
    C1CommandHolder Class Members
    In This Topic

    The following tables list the members exposed by C1CommandHolder.

    Public Constructors
     NameDescription
    Public ConstructorInitializes a new instance of the C1CommandHolder class.  
    Top
    Public Properties
     NameDescription
    Public PropertyGets or sets a value indicating whether to use animation in menus.  
    Public PropertyGets or sets the value indicating whether to automatically save the toolbars layout (for this to work, Layout must be added to dynamic properties).  
    Public PropertyGets the collection of commands.  
    Public Property (Inherited from System.ComponentModel.Component)
    Public PropertyGets or sets the class name of the Customizer form.  
    Public PropertyGets or sets the image list for command images.  
    Public PropertyGets or sets the transparent color for images not in image list.  
    Public PropertyGets or sets the toolbars layout; To enable automatic layout persistence, add this property to dynamic properties.  
    Public PropertyGets or sets a name of layout dynamic key in application config file.  
    Public PropertyReturns the main menu for the form.  
    Public PropertyGets or sets the class name of the Customizer's new toolbar dialog form.  
    Public PropertyGets or sets the value indicating how many times the app must be run before rarely used menu items start hiding.  
    Public PropertyGets or sets the threshold (in percent) for an item to be considered rarely used. The higher the value, the more items are hidden.  
    Public PropertyGets or sets the class name of the MDI child selection dialog form.  
    Public PropertyGets or sets the value indicating whether invisible menu and toolbar items are shown at design time.  
    Public PropertyGets or sets the value indicating whether to show tooltip texts when mouse cursor is over menu item.  
    Public PropertyGets or sets the delay (in seconds) for the mouse to hover over the parent menu item in order to show all rarely used item.  
    Public PropertyGets or sets the value indicating whether to show tooltip texts when mouse cursor is over toolbutton.  
    Public PropertyOverridden.   
    Public PropertyGets or sets a value indicating whether the user can give the focus to the CommandLink using keys when the Command is disabled.  
    Public PropertyDraw smooth images for currently unselected items.  
    Public PropertyGets or sets the value indicating whether to update commands' status when idle.  
    Public Property  
    Public PropertyGets the array of user interface strings.  
    Top
    Protected Properties
    Public Methods
     NameDescription
    Public Methodstatic (Shared in Visual Basic)Returns the command holder for the specified form, if it exists.  
    Public MethodOverloaded. Creates a new command and adds it to the Commands collection.  
    Public Methodstatic (Shared in Visual Basic)Creates a command holder and initializes it.  
    Public MethodInvokes toolbar customizer.  
    Public MethodOverloaded. Overridden. Releases the resources used by the C1CommandHolder.  
    Public MethodGets the C1Command associated with the shortcut.  
    Public MethodDetermines the command (of the type C1Command or inherited) invoked when the control's default (or, if there is none, Click) event fires.  
    Public MethodGets a context menu contained within the C1CommandHolder.  
    Public Method (Inherited from System.MarshalByRefObject)
    Public Method (Inherited from System.MarshalByRefObject)
    Public MethodLoads layout data from the application config file.  
    Public MethodReset layout.  
    Public MethodSaves the layout data into the application config file.  
    Public MethodOverloaded. Merges command links from links1 and links2 into result, using merge rules specified with links, similar to MDI merge.  
    Public MethodCalled for restoring layout of a single toolbar.  
    Public MethodSets the current layout to be the default (the one the customizer's reset button reverts to).  
    Public MethodSet the command (of the type C1Command or inherited) invoked when the control's default (or, if there is none, Click) event fires.  
    Public MethodSets a context menu contained within the C1CommandHolder.  
    Public Method (Inherited from System.ComponentModel.Component)
    Public MethodOverloaded. Unmerges the two collections of links merged previously by MergeCommandLinks.  
    Top
    Protected Methods
     NameDescription
    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 MethodThis method is for internal use only.  
    Top
    Public Events
     NameDescription
    Public EventOccurs when the command is invoked by the user.  
    Public EventOccurs when customization mode finishes.  
    Public EventOccurs when customization mode starts.  
    Public EventOccurs when a new command link is added to an existing toolbar during customization.  
    Public EventOccurs when a command link is removed from a toolbar during customization.  
    Public EventOccurs when a new toolbar is added or a hidden toolbar becomes visible during customization.  
    Public EventOccurs when a visible toolbar is hidden during customization.  
    Public Event (Inherited from System.ComponentModel.Component)
    Public EventOccurs when layout string must be loaded from app config file.  
    Public EventOccurs when layout string must be saved in app config file.  
    Public EventOccurs when the value of the RecentLinksRunCount property changes.  
    Public EventOccurs when the value of the RecentLinksRunCount property changes.  
    Public EventOccurs when the value of the ShowNonRecentLinksHoverDelay property changes.  
    Top
    See Also