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


IMultiItem.ItemEnabled Property (ArcObjects .NET 10.6 SDK)
ArcObjects Library Reference (SystemUI)  

IMultiItem.ItemEnabled Property

Indicates if the item at the specified index is enabled.

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

Parameters index [in]
index is a parameter of type long bEnabled [out, retval]
bEnabled 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

When implementing IMultiItem to create a custom multiItem, add some logic to the ItemEnabled property to specify in what state the application should be in for each item in the multiItem to be enabled.

See Also

IMultiItem Interface