Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
LogicalDirection Enumeration
Collapse the table of content
Expand the table of content

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.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
Show:
© 2015 Microsoft