TextViewHostOptionExtensions.IsInContrastMode(IEditorOptions) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Determines whether the editor is in either "Extra Contrast" or "High Contrast" modes.
public:
[System::Runtime::CompilerServices::Extension]
static bool IsInContrastMode(Microsoft::VisualStudio::Text::Editor::IEditorOptions ^ options);
public static bool IsInContrastMode (this Microsoft.VisualStudio.Text.Editor.IEditorOptions options);
static member IsInContrastMode : Microsoft.VisualStudio.Text.Editor.IEditorOptions -> bool
<Extension()>
Public Function IsInContrastMode (options As IEditorOptions) As Boolean
Parameters
- options
- IEditorOptions
The set of editor options.
Returns
true
if the editor is in either "Extra Contrast" or "High Contrast" modes, otherwise false
.