Skip to main content
A newer version of this page is available. .

BaseLayoutItem.TabCaption Property

Gets or sets the layout item’s tab caption.

Namespace: DevExpress.Xpf.Docking

Assembly: DevExpress.Xpf.Docking.v18.2.dll

Declaration

public object TabCaption { get; set; }

Property Value

Type Description
Object

A string value that specifies the layout item’s tab caption.

Remarks

By default, the BaseLayoutItem.Caption is displayed in the BaseLayoutItem‘s header and the same object is shown within a tab when the BaseLayoutItem is in a tabbed state. You can set a different tab caption using the TabCaption property. The following figure illustrates a panel with different TabCaption and BaseLayoutItem.TabCaption property values.

DXDocking Captions And TabCaptions

The following code snippets (auto-collected from DevExpress Examples) contain references to the TabCaption property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also