Click or drag to resize
IMyTerminalControlPropertyTValue Interface
v01.180.0 (Beta)

[This is preliminary documentation and is subject to change.]

This is a control property. This is use to set properties on a block that can be referenced in the ProgrammableBlock.

Namespace: Sandbox.ModAPI.Interfaces.Terminal
Assembly: Sandbox.Common (in Sandbox.Common.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public interface IMyTerminalControlProperty<TValue> : IMyTerminalControl, 
	IMyTerminalValueControl<TValue>, ITerminalProperty

Type Parameters

TValue

The IMyTerminalControlPropertyTValue type exposes the following members.

Methods
  NameDescription
Public methodRedrawControl
Recreates the control GUI. This allows you to update the Title of some controls.
(Inherited from IMyTerminalControl.)
Public methodUpdateVisual
This updates a control that is currently displayed, allowing you to refresh it's state
(Inherited from IMyTerminalControl.)
Top
Extension Methods
Properties
  NameDescription
Public propertyEnabled
Allows you to set if the control is enabled
(Inherited from IMyTerminalControl.)
Public propertyGetter
This is triggered when the value of the control is required.
(Inherited from IMyTerminalValueControlTValue.)
Public propertyId
Identifier of control
(Inherited from IMyTerminalControl.)
Public propertySetter
This is triggered when the value of the control is set by the user. Depending on the control, this may be called a lot.
(Inherited from IMyTerminalValueControlTValue.)
Public propertySupportsMultipleBlocks
Allows you to set if the control is visible when the block is selected as a group
(Inherited from IMyTerminalControl.)
Public propertyTypeName
Property type (bool - Boolean, float - Single, color - Color)
(Inherited from ITerminalProperty.)
Public propertyVisible
Allows you to set if the control is visible
(Inherited from IMyTerminalControl.)
Top
See Also