Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

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

Member nameDescription
Backward

Backward, or from right to left.

Forward

Forward, 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
Available since 3.0
Silverlight
Available since 4.0
Windows Phone Silverlight
Available since 7.1
Return to top
Show:
© 2016 Microsoft