Chapter 2 Measurement Studio .NET Class Libraries
© National Instruments Corporation 2-33 Measurement Studio User Manual
Tip For more information about using the property editor control, refer to the Using the
Measurement Studio Property Editor Control topic in the NI Measurement Studio Help.
Windows Forms Array Controls
You can create an array of Measurement Studio controls that behave as a
single unit. For example, you can use these array controls to visualize and
control ports of a digital line or values of an array. Measurement Studio
includes switch, LED, and numeric edit array controls. You can create
control arrays of other controls if those controls meet the constraints of the
generic type parameter TControl.

Switch and LED Array Controls

Use the Measurement Studio switch and LED array controls as an array of
Boolean controls on a Windows Forms user interface. You typically use a
switch array control, as shown in Figure 2-10, to control ports of a digital
line or values of an array. You typically use an LED array control, as shown
in Figure 2-10, to visualize ports of a digital line or values of an array.
Figure 2-10. Switch and LED Array Controls
With the switch and LED array controls and the classes that interface with
the controls, you can perform the following operations:
Set values by passing an array of data.
Modify the number of controls displayed based on the length of the
specified values.
Receive notification before or after the state of the control changes.
Configure how the control behaves when you click it with the mouse
or press the spacebar when the control has focus.
Configure the appearance of the control.