This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > Framework > ESRI.ArcGIS.Framework > Interfaces > IC > ICommandItem Interface > ICommandItem.Parent Property (ArcObjects .NET 10.4 SDK) |
The menu or toolbar that this command item currently resides on.
[Visual Basic .NET] Public ReadOnly Property Parent As ICommandBar
[C#] public ICommandBar Parent {get;}
Returns a reference to the CommandBar that this command item is on.