This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > SystemUI > ESRI.ArcGIS.SystemUI > Interfaces > IT > IToolBarDef Interface > IToolBarDef.Caption Property (ArcObjects .NET 10.5 SDK) |
The caption of this toolbar.
[Visual Basic .NET] Public ReadOnly Property Caption As String
[C#] public string Caption {get;}
[C++]
HRESULT get_Caption(
BSTR* Name
);
[C++]
Parameters Name [out, retval] Name is a parameter of type BSTR
The Caption property of a toolbar is the string that appears as the toolbar title when the toolbar is in a floating state.
When implementing IToolBarDef to create a custom toolbar, use the Caption property to set the caption of this toolbar.