ToolBar.DropDownButton in WPF


If you want create a Toolbar in your WPF project, you have all controls (tags) except the DropDownButton. You can find here a simple code to simulate this button. In future, I’ll post a new article about this code integrated in a new control.

When you execute the code bellow, you can see a toolbar like this.

The first part of the code is in XAML.

And the second part is in C# to display and hide the popup.

You can click here to download this code.

Advertisements
Posted in Uncategorized

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Follow me
   RSS Feed    Twitter    Linked In

Write you email address to subscribe at this blog and to receive new posts by mail.

Join 565 other followers

Who I am?






%d bloggers like this: