Share via


CommandBarControl.TooltipText Property

Returns or sets the text displayed in a command bar control's ScreenTip.

Namespace:  Microsoft.Office.Core
Assembly:  office (in office.dll)

Syntax

'Declaration
Property TooltipText As String
    Get
    Set
'Usage
Dim instance As CommandBarControl
Dim value As String

value = instance.TooltipText

instance.TooltipText = value
string TooltipText { get; set; }

Property Value

Type: System.String

Remarks

By default, the value of the Caption property is used as the ScreenTip.

See Also

Reference

CommandBarControl Interface

CommandBarControl Members

Microsoft.Office.Core Namespace