Click or drag to resize

HermeticGUIControlSwitch Class

Hermetic GUI control for the enum types.
Inheritance Hierarchy

Namespace:  KSPDev.GUIUtils
Assembly:  KSPDev_Utils.2.5 (in KSPDev_Utils.2.5.dll) Version: 2.5 for KSP v1
Syntax
C#
public sealed class HermeticGUIControlSwitch : AbstractHermeticGUIControl
Request Example View Source

The HermeticGUIControlSwitch type exposes the following members.

Constructors
  NameDescription
Public methodHermeticGUIControlSwitch
Creates a control, bound to a member.
Top
Methods
Remarks
Use it when a cheap dropdown control needed. It's not good to work with too many options, though. The rule of thumb: 2-7 options are OK.
See Also