TextViewOptionExtensions::DoesViewProhibitUserInput Method (IEditorOptions^)

 

Determines whether the view prohibits all user input.

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

public:
[ExtensionAttribute]
static bool DoesViewProhibitUserInput(
	IEditorOptions^ options
)

Parameters

options
Type: Microsoft.VisualStudio.Text.Editor::IEditorOptions^

The set of editor options.

Return Value

Type: System::Boolean

true if all user input to the view is prohibited, otherwise false.

The view's underlying buffer can still be modified even if this option is set.

Return to top
Show: