Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
24 lines (23 sloc) 582 Bytes
namespace GG.UserControls
{
/// <summary>
/// Implements a "menu button" for WPF.
/// </summary>
public class MenuButton : SplitButton
{
/// <summary>
/// Initializes a new instance of the MenuButton class.
/// </summary>
public MenuButton()
{
DefaultStyleKey = typeof(MenuButton);
}
/// <summary>
/// Called when the button is clicked.
/// </summary>
protected override void OnClick()
{
OpenButtonMenu();
}
}
}