CogPMAlignComposite SelectedIndex Property Cognex VisionPro
Gets or sets the SelectedIndex property. This property is used to create the record content graphics for the composite data item specified in the selected index. The SelectedIndex is used by the edit control to specify the item selected.

Namespace: Cognex.VisionPro.PMAlign
Assembly: Cognex.VisionPro.PMAlign (in Cognex.VisionPro.PMAlign.dll) Version: 65.1.0.0
Syntax

public int SelectedIndex { get; set; }

Property Value

Type: Int32
The default value is -1.
Events

Event TypeReason
ICogChangedEvent ChangedFires when this property changes. The SfSelectedIndex state flag may be affected.
Exceptions

ExceptionCondition
ArgumentOutOfRangeExceptionIf the supplied value is less than -1 (none selected) or greater than the items in the collection.
Remarks

This property is not serialized nor copied.
See Also