Sdílet prostřednictvím


ProduceScreenReaderFriendlyText Class

Definition

Defines the option to enable providing annotated text in automation controls so that screen readers can properly read contents of code.

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

Constructors

ProduceScreenReaderFriendlyText()

Initializes a new instance of ProduceScreenReaderFriendlyText.

Properties

Default

Gets the default value, which is false.

DefaultValue

Gets the default value of the option.

(Inherited from EditorOptionDefinition<T>)
Key

Gets the default text view host value.

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 the option is applicable to the specified scope.

(Inherited from ViewOptionDefinition<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