Click here to Skip to main content
15,894,017 members
Articles / Programming Languages / Visual Basic

User Customizable ToolStrip with Drag and Drop

Rate me:
Please Sign up or sign in to vote.
4.74/5 (16 votes)
21 May 2010CPOL3 min read 78.5K   2K   71  
With this .NET library, you can implement a customize toolbar function in your application.
<?xml version="1.0"?>
<doc>
<assembly>
<name>
UserCustomizableToolStrip
</name>
</assembly>
<members>
<member name="M:UserCustomizableToolStrip.CustomizeButtons.ShowCustomizeToolbarWindow(System.Windows.Forms.ToolStrip,System.Windows.Forms.ToolStripItem[],System.String,System.String[])">
	<summary>
 Show the Customize Toolbar Buttons window (the main function).
 </summary>
	<param name="ToolStrip">The ToolStrip that has to be customized.</param>
	<param name="Buttons">A collection (array) of ToolStripButtons that can be placed on the ToolStrip. Every ToolStrip MUST have set the Tag property to a short string like 'save' or 'new' (don't make it to complicated).</param>
	<returns>A String with information you can save somewhere (in your My.Settings, for example) so that you can let it load again the next time your application is loaded (with the function UpdateToolStripWithString()).</returns>
	<remarks></remarks>
</member><member name="M:UserCustomizableToolStrip.CustomizeButtons.UpdateToolStripWithString(System.Windows.Forms.ToolStrip,System.Windows.Forms.ToolStripItem[],System.String)">
	<summary>
 If you have saved the result of the customize function in your settings, you can reload the ToolStrip with that buttons with this function
 </summary>
	<param name="ToolStrip">The ToolStrip you'd like to have updated.</param>
	<param name="AvailableButtons">An Array with ToolStripItems containing all the ToolStripButtons that can be placed on the ToolStrip</param>
	<param name="SavedString">The saved String (the result of the other function) with the configuration which ToolStripButtons to show and the order.</param>
	<remarks></remarks>
</member>
</members>
</doc>

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Netherlands Netherlands
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Comments and Discussions