Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

DockPanel.Text Property

Gets or sets the dock panel’s caption.

Namespace: DevExpress.XtraBars.Docking

Assembly: DevExpress.XtraBars.v24.2.dll

NuGet Package: DevExpress.Win.Navigation

#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

See Also