Type | Description | |||
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 following VB sample displays the caption of the items being checked in the control:
Dim c As Variant For Each c In ribbon.GetChecked Debug.Print vbTab & c.Caption Next
The following VB/NET sample displays the caption of the items being checked in the control:
Dim c As Object For Each c In Exribbon1.GetChecked Debug.Print(vbTab & c.Caption) Next
The following C# sample displays the caption of the items being checked in the control:
foreach (exontrol.EXRIBBONLib.Item i in exribbon1.GetChecked) System.Diagnostics.Debug.Print("\t" + i.Caption);