C1CommandHolder Class Members
In This Topic
The following tables list the members exposed by C1CommandHolder.
Public Constructors
Public Properties
| Name | Description |
| Animation | Gets or sets a value indicating whether to use animation in menus. |
| AutoSaveLayout | Gets or sets the value indicating whether to automatically save the toolbars layout (for this to work, Layout must be added to dynamic properties). |
| Commands | Gets the collection of commands. |
| Container | (Inherited from System.ComponentModel.Component) |
| CustomizerFormClassName | Gets or sets the class name of the Customizer form. |
| ImageList | Gets or sets the image list for command images. |
| ImageTransparentColor | Gets or sets the transparent color for images not in image list. |
| Layout | Gets or sets the toolbars layout; To enable automatic layout persistence, add this property to dynamic properties. |
| LayoutKeyName | Gets or sets a name of layout dynamic key in application config file. |
| MainMenu | Returns the main menu for the form. |
| NewToolbarFormClassName | Gets or sets the class name of the Customizer's new toolbar dialog form. |
| RecentLinksRunCount | Gets or sets the value indicating how many times the app must be run before rarely used menu items start hiding. |
| RecentLinksThreshold | Gets or sets the threshold (in percent) for an item to be considered rarely used. The higher the value, the more items are hidden. |
| SelectMdiChildFormClassName | Gets or sets the class name of the MDI child selection dialog form. |
| ShowInvisibleItems | Gets or sets the value indicating whether invisible menu and toolbar items are shown at design time. |
| ShowMenuTooltips | Gets or sets the value indicating whether to show tooltip texts when mouse cursor is over menu item. |
| ShowNonRecentLinksHoverDelay | Gets or sets the delay (in seconds) for the mouse to hover over the parent menu item in order to show all rarely used item. |
| ShowToolbarTooltips | Gets or sets the value indicating whether to show tooltip texts when mouse cursor is over toolbutton. |
| Site | Overridden. |
| SkipDisabledMenuItems | Gets or sets a value indicating whether the user can give the focus to the CommandLink using keys when the Command is disabled. |
| SmoothImages | Draw smooth images for currently unselected items. |
| StateUpdateOnIdle | Gets or sets the value indicating whether to update commands' status when idle. |
| SuperTooltip | |
| UIStrings | Gets the array of user interface strings. |
Top
Public Methods
| Name | Description |
| CommandHolderByForm | Returns the command holder for the specified form, if it exists. |
| CreateCommand | Overloaded. Creates a new command and adds it to the Commands collection. |
| CreateCommandHolder | Creates a command holder and initializes it. |
| Customize | Invokes toolbar customizer. |
| Dispose | Overloaded. Overridden. Releases the resources used by the C1CommandHolder. |
| FindCommand | Gets the C1Command associated with the shortcut. |
| GetC1Command | Determines the command (of the type C1Command or inherited) invoked when the control's default (or, if there is none, Click) event fires. |
| GetC1ContextMenu | Gets a context menu contained within the C1CommandHolder. |
| GetLifetimeService | (Inherited from System.MarshalByRefObject) |
| InitializeLifetimeService | (Inherited from System.MarshalByRefObject) |
| LayoutLoadFromAppConfig | Loads layout data from the application config file. |
| LayoutReset | Reset layout. |
| LayoutSaveInAppConfig | Saves the layout data into the application config file. |
| MergeCommandLinks | Overloaded. Merges command links from links1 and links2 into result, using merge rules specified with links, similar to MDI merge. |
| ResetToolbar | Called for restoring layout of a single toolbar. |
| SaveDefaultLayout | Sets the current layout to be the default (the one the customizer's reset button reverts to). |
| SetC1Command | Set the command (of the type C1Command or inherited) invoked when the control's default (or, if there is none, Click) event fires. |
| SetC1ContextMenu | Sets a context menu contained within the C1CommandHolder. |
| ToString | (Inherited from System.ComponentModel.Component) |
| UnmergeCommandLinks | Overloaded. Unmerges the two collections of links merged previously by MergeCommandLinks. |
Top
Public Events
See Also