Skip to content

ContextCaption Property

Description

Gets/sets the text caption that is displayed above a contextual tab.

Property Type

Read-write property

Syntax (Visual Basic)

Public Property ContextCaption() As String

Remarks

The ContextCaption property indicates the text caption that will be displayed above a contextual tab. The picture below illustrates this:

Context Color Example

Typically, a contextual tab is only displayed if a certain condition is met. For example, when you open a JPG file, you can then display some tabs specific to working with JPG files and also add a ContextCaption for those tabs. In this case, the contextual tab would remain hidden until you set the Visible Property of the tab to True. When the JPG file is closed, the contextual tabs can be hidden again.

To join the ContextCaption of two or more tabs as seen in the picture, the tabs must all be adjacent, have the same ContextCaption, and have the same Ribbon Tab Color.

See Also


Copyright (c) 1998-2024 Codejock Technologies. All rights reserved.