Udostępnij za pośrednictwem


TextViewOptionExtensions.IsDragDropEditingEnabled(IEditorOptions) Method

Definition

Determines whether the option for drag/drop editing is enabled in the specified IEditorOptions.

public:
[System::Runtime::CompilerServices::Extension]
 static bool IsDragDropEditingEnabled(Microsoft::VisualStudio::Text::Editor::IEditorOptions ^ options);
public:
[System::Runtime::CompilerServices::Extension]
 static bool IsDragDropEditingEnabled(Microsoft::VisualStudio::Text::Editor::IEditorOptions ^ options);
public static bool IsDragDropEditingEnabled (this Microsoft.VisualStudio.Text.Editor.IEditorOptions options);
static member IsDragDropEditingEnabled : Microsoft.VisualStudio.Text.Editor.IEditorOptions -> bool
<Extension()>
Public Function IsDragDropEditingEnabled (options As IEditorOptions) As Boolean

Parameters

options
IEditorOptions

The IEditorOptions used to look up the option value.

Returns

true if the drag/drop editing option is enabled, false otherwise.

Applies to