This document is archived and information here might be outdated.  Recommended version.


IMultiItem.ItemChecked Property (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > SystemUI > ESRI.ArcGIS.SystemUI > Interfaces > IM > IMultiItem Interface > IMultiItem.ItemChecked Property
ArcGIS Developer Help

IMultiItem.ItemChecked Property

Indicates if item at the specified index is checked.

[Visual Basic .NET]
Public Function get_ItemChecked ( _
    ByVal index As Integer _
) As Boolean
[C#]
public bool get_ItemChecked (
    int index
);
[C++]
HRESULT get_ItemChecked(
  long index,
  Boolean* bChecked
);
[C++]
Parameters
index [in]

index is a parameter of type long bChecked [out, retval]
bChecked is a parameter of type bool*

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Description

Index specifies the index of the current item on the multiItem.

Remarks

The Checked property indicates the state of the items in the multiItem. If the bitmap of an item appears depressed on the menu, the item is checked. Commands and items that serve as a toggle will be checked when that toggle is on.
A system event is periodically called to set the state of the commands and items on commandbars and menus indicating which ones are checked.

See Also

IMultiItem Interface