Blog of Denis VOITURON

for a better .NET world

ToolBar.DropDownButton in WPF

Posted on 2011-01-06

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.



Follow me

Recent posts