ToolStripManager Class
Controls ToolStrip rendering and rafting, and the merging of MenuStrip, ToolStripDropDownMenu, and ToolStripMenuItem objects. This class cannot be inherited.
Namespace: System.Windows.Forms
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
The ToolStripManager type exposes the following members.
| Name | Description | |
|---|---|---|
![]() ![]() | Renderer | Gets or sets the default painting styles for the form. |
![]() ![]() | RenderMode | Gets or sets the default theme for the form. |
![]() ![]() | VisualStylesEnabled | Gets or sets a value indicating whether a ToolStrip is rendered using visual style information called themes. |
| Name | Description | |
|---|---|---|
![]() | Equals(Object) | Determines whether the specified object is equal to the current object. (Inherited from Object.) |
![]() ![]() | FindToolStrip | Finds the specified ToolStrip or a type derived from ToolStrip. |
![]() | GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() ![]() | IsShortcutDefined | Retrieves a value indicating whether the specified shortcut key is used by any of the ToolStrip controls of a form. |
![]() ![]() | IsValidShortcut | Retrieves a value indicating whether a defined shortcut key is valid. |
![]() ![]() | LoadSettings(Form) | Loads settings for the given Form using the full name of the Form as the settings key. |
![]() ![]() | LoadSettings(Form, String) | Loads settings for the specified Form using the specified settings key. |
![]() ![]() | Merge(ToolStrip, String) | Combines two ToolStrip objects of the same type. |
![]() ![]() | Merge(ToolStrip, ToolStrip) | Combines two ToolStrip objects of different types. |
![]() ![]() | RevertMerge(String) | Undoes a merging of two ToolStrip objects, returning the ToolStrip with the specified name to its state before the merge and nullifying all previous merge operations. |
![]() ![]() | RevertMerge(ToolStrip) | Undoes a merging of two ToolStrip objects, returning the specified ToolStrip to its state before the merge and nullifying all previous merge operations. |
![]() ![]() | RevertMerge(ToolStrip, ToolStrip) | Undoes a merging of two ToolStrip objects, returning both ToolStrip controls to their state before the merge and nullifying all previous merge operations. |
![]() ![]() | SaveSettings(Form) | Saves settings for the given Form using the full name of the Form as the settings key. |
![]() ![]() | SaveSettings(Form, String) | Saves settings for the specified Form using the specified settings key. |
![]() | ToString | Returns a string that represents the current object. (Inherited from Object.) |
ToolStripManager supports ToolStrip-related tasks for entire applications, such as merging, settings, and renderer options. The overloaded Merge method combines ToolStrip controls with each other, and the overloaded RevertMerge method undoes a merge operation.
Use the ToolStripRenderer class with the ToolStripManager class to gain even more control and customizability over painting and layout style.
Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
.gif?cs-save-lang=1&cs-lang=fsharp)
.gif?cs-save-lang=1&cs-lang=fsharp)
.gif?cs-save-lang=1&cs-lang=fsharp)
.gif?cs-save-lang=1&cs-lang=fsharp)