Partager via


SimpleGraphicsOption Class

Definition

Represents the option to draw a selection gradient as opposed to a solid color selection.

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

Constructors

SimpleGraphicsOption()

Initializes a new instance of SimpleGraphicsOption.

Properties

Default

Gets the default value.

DefaultValue

Gets the default value of the option.

(Inherited from EditorOptionDefinition<T>)
Key

Gets the key for the simple graphics option.

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 definition is applicable only to text views.

(Inherited from WpfViewOptionDefinition<T>)
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