共用方式為


DefaultTextViewHostOptions.IsInHighContrastThemeId Field

Definition

Determines whether the editor is in Windows High Contrast theme.

This theme is the specific VS Windows High Contrast theme that is enabled by the user. This is different from the Blue theme with additional contrast and the Windows OS High Contrast mode.

public: static initonly Microsoft::VisualStudio::Text::Editor::EditorOptionKey<bool> IsInHighContrastThemeId;
public static readonly Microsoft.VisualStudio.Text.Editor.EditorOptionKey<bool> IsInHighContrastThemeId;
 staticval mutable IsInHighContrastThemeId : Microsoft.VisualStudio.Text.Editor.EditorOptionKey<bool>
Public Shared ReadOnly IsInHighContrastThemeId As EditorOptionKey(Of Boolean) 

Field Value

Applies to