CWValuePair

Measurement Studio User Interface

CWValuePair

The CWValuePair object configures an individual value pair, which consists of a name and a value. Use value pairs on the axis of a knob, slide, or graph control to associate a symbolic name with a value on the axis. For example, use value pairs as custom ticks, labels, or grid lines. You also can use value pairs on the slide and knob control to implement a ValuePairs only control, which limits the valid values of the control to the control's value pairs.

The value of a value pair can be the position of the value pair on the axis or the index of the value pair in the collection.

Properties

NameSpecifies the name of a value pair.
ValueSpecifies the value of a value pair.

See Also

CWValuePairs