This document is archived and information here might be outdated. Recommended version. |
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.