Skip to main content

TdxNavBarGroup.ShowCaption Property

Specifies the group header’s visibility.

Declaration

property ShowCaption: Boolean read; write; default True;

Property Value

Type Default
Boolean True

Remarks

The ShowCaption property is only in effect when an Explorer Bar View is assigned to the control. In this case, the property specifies the group header’s visibility. You can set it to False to hide the group header.

When the group header is invisible, end-users cannot toggle the group’s expanded state. Setting the group’s Expanded property to False hides the group’s content and the group becomes invisible – neither caption nor contents are displayed.

If you only need to stop end-users from expanding/collapsing the group, set the group’s OptionsExpansion.Expandable property to False. In this case, the group header will be visible but will not respond to user clicks.

If a Side Bar View is assigned to the control, group captions are always visible regardless of the ShowCaption property value.

To hide captions of all groups at once regardless of the View applied, use the control’s ShowGroupCaptions property.

The default value of the ShowCaption property is True.

See Also