Share via


TrimTrailingWhiteSpace Class

Definition

The option definition that determines whether to trim trailing whitespace.

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

Constructors

TrimTrailingWhiteSpace()

Properties

Default

Gets the default value (false).

DefaultValue

Gets the default value of the option.

(Inherited from EditorOptionDefinition<T>)
Key

Gets the editor option 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