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


IToolbarPalette.Caption Property (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (Controls)  

IToolbarPalette.Caption Property

The caption used by the ToolbarPalette.

[Visual Basic .NET]
Public Property Caption As String
[C#]
public string Caption {get; set;}
[C++]
HRESULT get_Caption(
  BSTR* pVal
);
[C++]
HRESULT put_Caption(
  BSTR pVal
);
[C++]

Parameters pVal [out, retval] pVal is a parameter of type BSTR pVal [in] pVal is a parameter of type BSTR

Product Availability

Available with ArcGIS Engine.

Description

The Caption of the ToolbarPalette. The Caption is displayed on the ToolbarControl when the IToolbarItem::Style is set to esriCommandStyleIconAndText.

See Also

IToolbarPalette Interface

.NET Samples

Add map surrounds using the SymbologyControl (Code Files: AddMapSurrounds)