LogicalDirection Enumeration

LogicalDirection Enumeration

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

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:  System.Windows (in System.Windows.dll)
XMLNS for XAML: Not mapped to an xmlns.

No code example is currently available or this language may not be supported.
<object property="enumMemberName"/>

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

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

Windows Phone OS

Supported in: 8.1, 8.0, 7.1

Windows Phone

Show:
© 2017 Microsoft