Solved

Help implementing the View icon with dropdown

Posted on 2006-11-27
4
155 Views
Last Modified: 2010-04-16
Hi, I'm using the VS2005 .net 2.0.  I would like to implement the View icon that that has a dropdown arrow with the view options of Large icons, small icons, deatils....   This is the icon one would usually see when using the Disk explorer.  Can someone tell me where I can get this View icon with dropdown and if there's sample code on how to use this.  Many thanks.
0
Comment
Question by:lapucca
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
4 Comments
 
LVL 1

Expert Comment

by:R_Spruit
ID: 18038422
The button looks to me like a standard toolstripdropdownbutton. Add a ToolStrip control to your form, add a dropdownbutton to that toolstrip and add the options. You can set the "Checked" state of the menu subitems to indicate which option is selected.

I can't help you with the icons. I'm guessing they are copyrighted. There are free icon packs around the net but I'm not sure if they contain such icons.

Roel
0
 

Author Comment

by:lapucca
ID: 18119157
what is a dropdownbutton ?  I don't see that in my Toolbox of controls.  Thank you.
0
 
LVL 1

Accepted Solution

by:
R_Spruit earned 500 total points
ID: 18121062
If you create a ToolStrip first (I hope THAT is in your toolbox :), you can then select that ToolStrip in Visual Studio. In the properties window of that toolstrip there is an item called "Items". Select it and then click the little button behind it. You can then add items to the ToolStrip, one of which is a dropdownbutton.

Roel
0
 

Author Comment

by:lapucca
ID: 18125383
Oh, great, I found it.  Thank you very much.
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Extention Methods in C# 3.0 by Ivo Stoykov C# 3.0 offers extension methods. They allow extending existing classes without changing the class's source code or relying on inheritance. These are static methods invoked as instance method. This…
Introduction Although it is an old technology, serial ports are still being used by many hardware manufacturers. If you develop applications in C#, Microsoft .NET framework has SerialPort class to communicate with the serial ports.  I needed to…

749 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question