DropDownWidget class Core

A drop-down BUTTON: the current label plus a ⏷, drawn through ButtonWidget so it hovers, presses and themes like every other button. The LIST it opens is a normal menu (MenuOverlayContent) pushed on the overlay stack by the pane; this widget owns only the closed state.

Public as pane SPI: self-drawn panes outside this assembly paint their choice fields through the same painter so the control looks identical in every zone.

public static class DropDownWidget
Namespace
ArionUI.Presentation
Package
ArionUI.Presentation · dotnet add package ArionUI.Presentation --prerelease

Fields

Height

public const double Height = 26;

Methods

Draw

public static void Draw(IRenderSurface s, LogRect rect, string label, bool hot, bool pressed = false);

Draw the closed drop-down. label is the current choice.