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:  System.Windows (in System.Windows.dll)

public enum LogicalDirection
<object property="enumMemberName"/>

Member nameDescription
Supported by Silverlight for Windows PhoneBackwardBackward, or from right to left.
Supported by Silverlight for Windows PhoneForwardForward, 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.


Supported in: 5, 4

Silverlight for Windows Phone

Supported in: Windows Phone OS 7.1

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.

Community Additions