Solved

Help implementing the View icon with dropdown

Posted on 2006-11-27
4
152 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
  • 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

How to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline

Join & Write a Comment

This article describes a simple method to resize a control at runtime.  It includes ready-to-use source code and a complete sample demonstration application.  We'll also talk about C# Extension Methods. Introduction In one of my applications…
It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…
This video shows how to remove a single email address from the Outlook 2010 Auto Suggestion memory. NOTE: For Outlook 2016 and 2013 perform the exact same steps. Open a new email: Click the New email button in Outlook. Start typing the address: …

743 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

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now