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

AssemblyBinarymission.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 ExtendedContextMenuStripA 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 IMenuStripColorTableThe 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 ArrowKindSpecifies the shape of the arrow an ExtendedContextMenuStrip draws beside an item that opens a submenu.
enum RendererThemeKindSpecifies the built-in theme an ExtendedContextMenuStrip is drawn with.