ToolStripManager Class
Controls ToolStrip rendering and rafting, and the merging of MenuStrip, ToolStripDropDownMenu, and ToolStripMenuItem objects. This class cannot be inherited.
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.) |
![]() | Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (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. |
![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() ![]() | 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 7, Windows Vista SP1 or later, Windows XP SP3, Windows XP SP2 x64 Edition, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
