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


IToolBarDef.Caption Property (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > SystemUI > ESRI.ArcGIS.SystemUI > Interfaces > IT > IToolBarDef Interface > IToolBarDef.Caption Property
ArcGIS Developer Help

IToolBarDef.Caption Property

The caption of this toolbar.

[Visual Basic .NET]
Public ReadOnly Property Caption As String
[C#]
public string Caption {get;}
[C++]
HRESULT get_Caption(
  System.String* Name
);
[C++]
Parameters
Name [out, retval]

Name is a parameter of type BSTR*

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Remarks

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.

See Also

IToolBarDef Interface