Interface IMyTerminalControlOnOffSwitch
This is an on / off switch or toggle button. It gives two options that a user can toggled between.
Inherited Members
Namespace: Sandbox.ModAPI.Interfaces.Terminal
Assembly: Sandbox.Common.dll
Syntax
public interface IMyTerminalControlOnOffSwitch : IMyTerminalControl, IMyTerminalValueControl<bool>, ITerminalProperty, IMyTerminalControlTitleTooltip
Properties
OffText
The label for the "off" switch
Declaration
MyStringId OffText { get; set; }
Property Value
Type | Description |
---|---|
MyStringId |
OnText
The label for the "on" switch
Declaration
MyStringId OnText { get; set; }
Property Value
Type | Description |
---|---|
MyStringId |