TdxCustomDockControl.ShowCaption Property
Specifies whether the dock control’s caption is visible.
Declaration
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.