Click or drag to resize

ControlListBox Class

ListBox used to display a set of options that the UI can interact with. This control is intended to be used with scripting to perform an action when a user changes the selection.
Inheritance Hierarchy
SystemObject
  AxiomCore2.ControlsControlBase
    AxiomCore2.ControlsControlListBox

Namespace: AxiomCore2.Controls
Assembly: Canary.Axiom.Session (in Canary.Axiom.Session.exe) Version: 25.6.0.25344+3070493948bf7d32a86bd3e9a8bcf4cc9a5b1929
Syntax
C#
public sealed class ControlListBox : ControlBase, 
	IControlBase, IDisposable

The ControlListBox type exposes the following members.

Properties
 NameDescription
Public propertyHeight Height of control in pixels.
Public propertyIsMultiSelectEnabled Determines whether more than 1 item can be selected at a time.
Public propertyIsVisible Visibility of control. Default value is true.
Public propertyItems Items that will be used to populate the ListBox.
Public propertyKind Kind of control.
(Inherited from ControlBase)
Public propertyName Control name that is unique within the owning screen. Name of control must conform to the regex pattern [a-zA-Z0-9], as only letters and numbers are valid characters.
(Inherited from ControlBase)
Public propertyOnSelectionChange Name of a method defined in the screen script that will be invoked when the client changes the selection of a control. Method must have same signature as EventDelegatesOnSelectionChange. Default value is null.
Public propertyParent Parent of the control.
(Inherited from ControlBase)
Public propertyScreen Screen the control resides in.
(Inherited from ControlBase)
Public propertySelectedItems Returns subset of the Items that are currently selected.
Public propertyTemplateId Id used to find sibling controls within a template. All siblings will have the same id. Default value is null.
(Inherited from ControlBase)
Public propertyWidth Width of control in pixels.
Public propertyX X position of a control relative to its parent in pixels.
Public propertyY Y position of a control relative to its parent in pixels.
Top
Methods
 NameDescription
Public methodAncestorsT Get ancestor controls that implement generic control interface defined by T.
(Inherited from ControlBase)
Top
See Also