This documentation is archived and is not being maintained.

LogicalDirection Enumeration

Specifies a logical direction in which to perform certain text operations, such as inserting, retrieving, or navigating through text relative to a specified position (a TextPointer).

Namespace:  System.Windows.Documents
Assembly:  PresentationFramework (in PresentationFramework.dll)

public enum LogicalDirection
<object property="enumerationMemberName" .../>

Member nameDescription
BackwardBackward, or from right to left.
ForwardForward, or from left to right.

One of the ways in which this enumeration is used to determine where to place a TextPointer when new content is inserted. A value of Backward places the text position directly before the new content, whereas a value of Forward places the TextPointer directly after the new content.

Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

.NET Framework

Supported in: 3.5, 3.0
Show: