Partager via


ITextSelection.IsReversed Property

Determines whether the active point is Span.Start and the anchor point is Span.End.

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

Syntax

'Declaration
ReadOnly Property IsReversed As Boolean
bool IsReversed { get; }
property bool IsReversed {
    bool get ();
}
abstract IsReversed : bool with get
function get IsReversed () : boolean

Property Value

Type: Boolean
true if the selection is reversed, otherwise false.

Remarks

In a reversed selection, the active point is Span.Start and the anchor point is Span.End. In a non-reversed selection, the active point is span.end and the anchor point is Span.Start.

.NET Framework Security

See Also

Reference

ITextSelection Interface

Microsoft.VisualStudio.Text.Editor Namespace