WinForms › Smart Button
Smart Button
.NET Framework 4.8.NET 6 / 8 / 10v4.0.0WinForms
A highly customisable menu button .NET Control for WinForms
7public types
78public members
2namespaces
Assembly
| Assembly | Binarymission.WinForms.Controls.BinarySmartButton.dll |
| Root namespace | Binarymission.WinForms.Controls.ButtonControls |
| Target frameworks | .NET Framework 4.8, .NET 6 / 8 / 10 |
| Depends on | BinaryMenu, Binarymission.WinForms.Controls.ExtendedMenuControls |
Getting started
using Binarymission.WinForms.Controls.ButtonControls;
// Designer: build the solution once, then drag SmartButton from the Toolbox onto a form.
// In code:
var smartButton = new SmartButton
{
Dock = DockStyle.Fill,
};
this.Controls.Add(smartButton);
API reference
Binarymission.WinForms.Controls.ButtonControls
delegate AboutToTheShowContextMenuOnMenuButton | A specialized event handler signature for the control's event OnAboutToTheShowContextMenuOnMenuButton. |
enum ButtonStyles | BinarySmartButton control supports two styles of Button, viz., Normal and MenuButton. |
class ContextMenuProperties | A helper class to support setting up custom /user defined drawing properties for the drop-down context menu (used when the control style is set to MenuButton style (refer to details of this style in the ButtonStyles enumeration). |
class ContextMenuPropertiesTypeConverter | Custom ExpandableObjectConverter derived class to support expandable properties editing in VS.NET property editor window. |
class SmartButton | BinarySmartButton .NET control is an extended and feature-rich replacement for the standard .NET Framework Button control. |
enum XPThemes | Enumerates the list of supported XP themes that the control can emulate. |
Binarymission.WinForms.Controls.ButtonControls.SmartButtonControls.Models
enum DropDownMenuRendererThemeKind | The built-in themes a smart button's drop-down menu can be drawn with. |