WordWrapStyle WordWrapStyle WordWrapStyle WordWrapStyle Class

Definition

Defines the word wrap style option.

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

Constructors

WordWrapStyle() WordWrapStyle() WordWrapStyle() WordWrapStyle()

Initializes a new instance of WordWrapStyle.

Properties

Default Default Default Default

Gets the default value.

DefaultValue DefaultValue DefaultValue DefaultValue

Gets the default value of the option.

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

Gets the default text view host value.

Name Name Name Name

Gets the name of the option.

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

Gets the actual type of the option.

(Inherited from EditorOptionDefinition<T>)

Methods

Equals(Object) Equals(Object) Equals(Object) Equals(Object)

Determines whether two EditorOptionDefinition objects are the same.

(Inherited from EditorOptionDefinition)
GetHashCode() GetHashCode() GetHashCode() GetHashCode()

Gets the hash code of this type.

(Inherited from EditorOptionDefinition)
IsApplicableToScope(IPropertyOwner) IsApplicableToScope(IPropertyOwner) IsApplicableToScope(IPropertyOwner) IsApplicableToScope(IPropertyOwner)

Determines whether the option is applicable to the specified scope.

(Inherited from ViewOptionDefinition<T>)
IsValid(Object) IsValid(Object) IsValid(Object) IsValid(Object)

Determines whether the proposed value is valid.

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

Determines whether the proposed value is valid.

(Inherited from EditorOptionDefinition<T>)

Extension Methods

FindAncestor<TElementType>(TElementType, Func<TElementType,TElementType>, Func<TElementType,Boolean>) FindAncestor<TElementType>(TElementType, Func<TElementType,TElementType>, Func<TElementType,Boolean>) FindAncestor<TElementType>(TElementType, Func<TElementType,TElementType>, Func<TElementType,Boolean>) FindAncestor<TElementType>(TElementType, Func<TElementType,TElementType>, Func<TElementType,Boolean>)
FindAncestor<TAncestorType,TElementType>(TElementType, Func<TElementType,TElementType>) FindAncestor<TAncestorType,TElementType>(TElementType, Func<TElementType,TElementType>) FindAncestor<TAncestorType,TElementType>(TElementType, Func<TElementType,TElementType>) FindAncestor<TAncestorType,TElementType>(TElementType, Func<TElementType,TElementType>)

Microsoft internal use only.

FindAncestorOrSelf<TElementType>(TElementType, Func<TElementType,TElementType>, Func<TElementType,Boolean>) FindAncestorOrSelf<TElementType>(TElementType, Func<TElementType,TElementType>, Func<TElementType,Boolean>) FindAncestorOrSelf<TElementType>(TElementType, Func<TElementType,TElementType>, Func<TElementType,Boolean>) FindAncestorOrSelf<TElementType>(TElementType, Func<TElementType,TElementType>, Func<TElementType,Boolean>)
FindAncestorOrSelf<TAncestorType,TElementType>(TElementType, Func<TElementType,TElementType>) FindAncestorOrSelf<TAncestorType,TElementType>(TElementType, Func<TElementType,TElementType>) FindAncestorOrSelf<TAncestorType,TElementType>(TElementType, Func<TElementType,TElementType>) FindAncestorOrSelf<TAncestorType,TElementType>(TElementType, Func<TElementType,TElementType>)
IsAncestorOf<TElementType>(TElementType, TElementType, Func<TElementType,TElementType>) IsAncestorOf<TElementType>(TElementType, TElementType, Func<TElementType,TElementType>) IsAncestorOf<TElementType>(TElementType, TElementType, Func<TElementType,TElementType>) IsAncestorOf<TElementType>(TElementType, TElementType, Func<TElementType,TElementType>)

Microsoft internal use only.

Applies to