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

DockPanel.Text Property

Gets or sets the dock panel’s caption.

Namespace: DevExpress.XtraBars.Docking

Assembly: DevExpress.XtraBars.v19.2.dll

Declaration

[XtraSerializableProperty]
public override string Text { get; set; }

Property Value

Type Description
String

A String representing the panel’s caption.

Remarks

A dock panel’s caption is displayed within its title bar. If a panel’s DockPanel.TabText property is set to an empty string then the string specified by the Text property will be displayed in place of the empty DockPanel.TabText string.

The string specified by the DockPanel.TabText property is displayed in the button in an auto hide container (when the panel’s autohiding functionality is enabled) and in the associated tab in a tab container (when the panel is placed in a tab container).

DockPanel_Text_TabText

The following code snippets (auto-collected from DevExpress Examples) contain references to the Text 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