This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > SystemUI > ESRI.ArcGIS.SystemUI > Interfaces > IM > IMultiItem Interface > IMultiItem.ItemEnabled Property (ArcObjects .NET 10.5 SDK) |
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,
VARIANT_BOOL* bEnabled
);
[C++]
Parameters index [in] index is a parameter of type long bEnabled [out, retval] bEnabled is a parameter of type VARIANT_BOOL
Index specifies the index of the current item on the multiItem.
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.