Aracılığıyla paylaş


IsInHighContrastThemeOption Class

Definition

Determines whether the editor is in the Windows high contrast theme.

This theme is the specific VS Windows High Contrast theme that is enabled by the user when in Windows OS High Contrast mode. This option is not checking for Blue (Extra Contrast) theme or the Windows OS High Contrast mode.

public ref class IsInHighContrastThemeOption sealed : Microsoft::VisualStudio::Text::Editor::EditorOptionDefinition<bool>
[Microsoft.VisualStudio.Utilities.Name("TextViewHost/IsInHighContrastTheme")]
[System.ComponentModel.Composition.Export(typeof(Microsoft.VisualStudio.Text.Editor.EditorOptionDefinition))]
public sealed class IsInHighContrastThemeOption : Microsoft.VisualStudio.Text.Editor.EditorOptionDefinition<bool>
[<Microsoft.VisualStudio.Utilities.Name("TextViewHost/IsInHighContrastTheme")>]
[<System.ComponentModel.Composition.Export(typeof(Microsoft.VisualStudio.Text.Editor.EditorOptionDefinition))>]
type IsInHighContrastThemeOption = class
    inherit EditorOptionDefinition<bool>
Public NotInheritable Class IsInHighContrastThemeOption
Inherits EditorOptionDefinition(Of Boolean)
Inheritance
Attributes

Constructors

IsInHighContrastThemeOption()

Properties

Default
DefaultValue

Gets the default value of the option.

(Inherited from EditorOptionDefinition<T>)
Key
Name

Gets the name of the option.

(Inherited from EditorOptionDefinition<T>)
ValueType

Gets the actual type of the option.

(Inherited from EditorOptionDefinition<T>)

Methods

Equals(Object)

Determines whether two EditorOptionDefinition objects are the same.

(Inherited from EditorOptionDefinition)
GetHashCode()

Gets the hash code of this type.

(Inherited from EditorOptionDefinition)
IsApplicableToScope(IPropertyOwner)

Determines whether this option is applicable for the given scope (for example, a text buffer). The default implementation returns true. An option, by default, is applicable to any scope.

(Inherited from EditorOptionDefinition)
IsValid(Object)

Determines whether the proposed value is valid.

(Inherited from EditorOptionDefinition<T>)
IsValid(T)

Determines whether the proposed value is valid.

(Inherited from EditorOptionDefinition<T>)

Applies to