共用方式為


RibbonToggleButton.ScreenTip Property

Gets or sets tip text that appears when the user moves the pointer over the toggle button.

Namespace:  Microsoft.Office.Tools.Ribbon
Assembly:  Microsoft.Office.Tools.Common (in Microsoft.Office.Tools.Common.dll)

Syntax

'Declaration
Property ScreenTip As String
string ScreenTip { get; set; }

Property Value

Type: System.String
The text that appears when the user moves the pointer over the toggle button.

Remarks

The ScreenTip value must be less than 1024 characters in length.

When the SuperTip property is set, the ScreenTip value appears as the title of the SuperTip.

This property can be changed at design time and run time.

.NET Framework Security

See Also

Reference

RibbonToggleButton Interface

Microsoft.Office.Tools.Ribbon Namespace

Other Resources

Ribbon Object Model Overview