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)

property bool IsReversed {
	bool get();
}

Property Value

Type: System::Boolean

true if the selection is reversed, otherwise false.

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.

Return to top
Show: