Share via


WpfViewOptionExtensions Class

Provides extension methods for options related to an IWpfTextView.

Inheritance Hierarchy

System.Object
  Microsoft.VisualStudio.Text.Editor.OptionsExtensionMethods.WpfViewOptionExtensions

Namespace:  Microsoft.VisualStudio.Text.Editor.OptionsExtensionMethods
Assembly:  Microsoft.VisualStudio.Text.UI.Wpf (in Microsoft.VisualStudio.Text.UI.Wpf.dll)

Syntax

'Declaration
<ExtensionAttribute> _
Public NotInheritable Class WpfViewOptionExtensions
public static class WpfViewOptionExtensions
[ExtensionAttribute]
public ref class WpfViewOptionExtensions abstract sealed
[<AbstractClass>]
[<Sealed>]
type WpfViewOptionExtensions =  class end
public final class WpfViewOptionExtensions

The WpfViewOptionExtensions type exposes the following members.

Methods

  Name Description
Public methodStatic member AppearanceCategory Specifies the appearance category.
Public methodStatic member IsHighlightCurrentLineEnabled Determines whether the option to highlight the current line is enabled.
Public methodStatic member IsMouseWheelZoomEnabled Determines whether to allow mouse wheel zooming.
Public methodStatic member IsSimpleGraphicsEnabled Determines whether the option to draw a gradient selection is enabled.

Top

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

Microsoft.VisualStudio.Text.Editor.OptionsExtensionMethods Namespace