TextPointer.LogicalDirection 属性
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
获取与当前位置关联的逻辑方向,该方向用于消除与当前位置关联的内容。
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命中测试方法返回的命中结果为文本的两个字符之间的命中。 逻辑方向指定实际命中两个字符中的哪一个 - 左侧或右侧。