HypernovaDesktop Components · docs
Binarymission
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

AssemblyBinarymission.WinForms.Controls.BinarySmartButton.dll
Root namespaceBinarymission.WinForms.Controls.ButtonControls
Target frameworks.NET Framework 4.8, .NET 6 / 8 / 10
Depends onBinaryMenu, 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 AboutToTheShowContextMenuOnMenuButtonA specialized event handler signature for the control's event OnAboutToTheShowContextMenuOnMenuButton.
enum ButtonStylesBinarySmartButton control supports two styles of Button, viz., Normal and MenuButton.
class ContextMenuPropertiesA 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 ContextMenuPropertiesTypeConverterCustom ExpandableObjectConverter derived class to support expandable properties editing in VS.NET property editor window.
class SmartButtonBinarySmartButton .NET control is an extended and feature-rich replacement for the standard .NET Framework Button control.
enum XPThemesEnumerates the list of supported XP themes that the control can emulate.

Binarymission.WinForms.Controls.ButtonControls.SmartButtonControls.Models

enum DropDownMenuRendererThemeKindThe built-in themes a smart button's drop-down menu can be drawn with.