次の方法で共有


LogicalDirection Enumeration

Microsoft Silverlight will reach end of support after October 2021. Learn more.

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)

Syntax

'Declaration
Public Enumeration LogicalDirection
public enum LogicalDirection
<object property="enumMemberName"/>

Members

Member name Description
Supported by Silverlight for Windows Phone Backward Backward, or from right to left.
Supported by Silverlight for Windows Phone Forward Forward, or from left to right.

Remarks

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.

Version Information

Silverlight

Supported in: 5, 4

Silverlight for Windows Phone

Supported in: Windows Phone OS 7.1

Platforms

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