TextPointer.LogicalDirection 属性

定义

获取与当前位置关联的逻辑方向,该方向用于消除与当前位置关联的内容。

public:
 property System::Windows::Documents::LogicalDirection LogicalDirection { System::Windows::Documents::LogicalDirection get(); };
public System.Windows.Documents.LogicalDirection LogicalDirection { get; }
member this.LogicalDirection : System.Windows.Documents.LogicalDirection
Public ReadOnly Property LogicalDirection As LogicalDirection

属性值

LogicalDirection 当前位置关联的值。

注解

作为如何使用此属性的示例,LogicalDirectionTextPointer命中测试方法返回的命中结果为文本的两个字符之间的命中。 逻辑方向指定实际命中两个字符中的哪一个 - 左侧或右侧。

适用于