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: