Edit

Share via


LogicalDirection Enum

Definition

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).

public enum class LogicalDirection
public enum LogicalDirection
type LogicalDirection = 
Public Enum LogicalDirection
Inheritance
LogicalDirection

Fields

Name Value Description
Backward 0

Backward, or from right to left.

Forward 1

Forward, or from left to right.

Examples

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.

Applies to