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

TdxCustomDockControl.ShowCaption Property

Specifies whether the dock control’s caption is visible.

#Declaration

Delphi
property ShowCaption: Boolean read; write; default True;

#Property Value

Type Default
Boolean True

#Remarks

Use ShowCaption to change the dock control’s caption visibility. Captions are supported by dock panels and tab containers. For dock panels, captions display the string specified by the Caption property and a set of buttons as specified by the CaptionButtons property. The caption displays the same information for tab containers except that the string is specified by the Caption property of the panel currently active.

If the ShowCaption property value is True, the dock control displays its caption when it is docked to a dock site or when it is in a side container. If the ShowCaption property value is False, the caption is never displayed.

The image below shows a tab container with the ShowCaption property set to True and False respectively.

The default value of the ShowCaption property is True.

See Also