Back to Devexpress

DockPanel.Text Property

windowsforms-devexpress-dot-xtrabars-dot-docking-dot-dockpanel-7e5df14a.md

latest2.4 KB
Original Source

DockPanel.Text Property

Gets or sets the dock panel’s caption.

Namespace : DevExpress.XtraBars.Docking

Assembly : DevExpress.XtraBars.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
[XtraSerializableProperty]
public override string Text { get; set; }
vb
<XtraSerializableProperty>
Public Overrides Property Text As String

Property Value

TypeDescription
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).

See Also

TabText

RestoreDockPanelsText

AutoHidePanelVerticalTextOrientation

DockPanel Class

DockPanel Members

DevExpress.XtraBars.Docking Namespace