WinForms › Binary Menu Controls
Binary Menu Controls
.NET 6 / 8 / 10v1.0.0WinForms
Specifies the built-in theme an ExtendedContextMenuStrip is drawn with.
4public types
18public members
3namespaces
Assembly
| Assembly | Binarymission.WinForms.Controls.ExtendedMenuControls.dll |
| Target frameworks | .NET 6 / 8 / 10 |
Overview
Light themes draw black text on a white background; dark themes draw white text on a
charcoal (#404040) background.
Getting started
using Binarymission.WinForms.Controls;
// Designer: build the solution once, then drag RendererThemeKind from the Toolbox onto a form.
// In code:
var rendererThemeKind = new RendererThemeKind
{
Dock = DockStyle.Fill,
};
this.Controls.Add(rendererThemeKind);
API reference
Binarymission.WinForms.Controls.ExtendedMenuControls
class ExtendedContextMenuStrip | A ContextMenuStrip that comes ready-styled: pick one of eight built-in light and dark themes with RendererTheme, or give it colours of your own through IMenuStripColorTable. |
Binarymission.WinForms.Controls.ExtendedMenuControls.Abstractions
interface IMenuStripColorTable | The colours and arrow shape an ExtendedContextMenuStrip uses for text, submenu arrows and check marks, beyond those a ProfessionalColorTable supplies. |
Binarymission.WinForms.Controls.ExtendedMenuControls.Models
enum ArrowKind | Specifies the shape of the arrow an ExtendedContextMenuStrip draws beside an item that opens a submenu. |
enum RendererThemeKind | Specifies the built-in theme an ExtendedContextMenuStrip is drawn with. |