Skip to main content

DockPanel.Text Property

Gets or sets the dock panel’s caption.

Namespace: DevExpress.XtraBars.Docking

Assembly: DevExpress.XtraBars.v24.1.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