共用方式為


VsResourceKeys.LargeToolTipStyleKey Property

Definition

Gets the key that can be used at runtime to dynamically bind to a Style for a System.Windows.Controls.ToolTip.

public:
 static property System::Object ^ LargeToolTipStyleKey { System::Object ^ get(); };
public:
 static property Platform::Object ^ LargeToolTipStyleKey { Platform::Object ^ get(); };
public static object LargeToolTipStyleKey { get; }
static member LargeToolTipStyleKey : obj
Public Shared ReadOnly Property LargeToolTipStyleKey As Object

Property Value

The key that can be used at runtime to dynamically bind to a Style for a ToolTip.

Remarks

This should be used by any tooltips that are (potentially) large so there isn't a jarring contrast between it and the background in the dark theme. This style is used, for example, by the tooltip for the editor's collapsed text adornment.

The name must match the name used EditorStyleNames.CollapsedAdornmentToolTipStyleName (defined in MS.VS.Text.UI.Wpf).

Applies to