共用方式為


DescriptionViewer.ToolTipStyle Property

Microsoft Silverlight will reach end of support after October 2021. Learn more.

Gets or sets the style used to display tooltips.

Namespace:  System.Windows.Controls
Assembly:  System.Windows.Controls.Data.Input (in System.Windows.Controls.Data.Input.dll)

Syntax

'Declaration
Public Property ToolTipStyle As Style
public Style ToolTipStyle { get; set; }
<sdk:DescriptionViewer>
  <sdk:DescriptionViewer.ToolTipStyle>
    inlineStyle
  </sdk:DescriptionViewer.ToolTipStyle>
</sdk:DescriptionViewer>
<sdk:DescriptionViewer ToolTipStyle="styleReference"/>

XAML Values

Property Value

Type: System.Windows.Style
The style used to display tooltips.

Remarks

Dependency property identifier field: ToolTipStyleProperty

The following illustration shows the default tooltip.

DescriptionViewer Control

Description Viewer control

Version Information

Silverlight

Supported in: 5, 4, 3

Platforms

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.