property ExContextMenu.GetUnchecked as Variant
Retrieves an array of Item objects, that displays a check box which is unchecked.

TypeDescription
Variant A Safe-Array of Item objects that indicates the checked items in the control. The collection does include only items with the Check property set on True.
The GetUnchecked property gets a collection of checked items. The GetChecked property gets a collection of checked items. The GetRadio method gets a safe array with the radio-items being checked within a radio group.  The Check property indicates whether the current item displays a check box.  The Checked property specifies whether the item is checked or un-checked. The Radio property specifies whether the item displays a radio-button. The RadioGroup property specifies a group of radio-buttons.  A radio group allows a single radio-item to be checked inside.

The following VB sample displays the caption of the items being un-checked in the control:

Dim c As Variant
For Each c In contextMenu.GetUnchecked
    Debug.Print vbTab & c.Caption
Next

The following VB/NET sample displays the caption of the items being un-checked in the control:

Dim c As Object
For Each c In Excontextmenu1.GetUnchecked
    Debug.Print(vbTab & c.Caption)
Next

The following C# sample displays the caption of the items being un-checked in the control:

foreach (exontrol.EXCONTEXTMENULib.Item i in excontextmenu1.GetUnchecked)
    System.Diagnostics.Debug.Print("\t" + i.Caption);