TextPointer.LogicalDirection Egenskap

Definition

Hämtar den logiska riktningen som är associerad med den aktuella positionen som används för att skilja innehåll som är associerat med den aktuella positionen.

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

Egenskapsvärde

Värdet LogicalDirection som är associerat med den aktuella positionen.

Kommentarer

Som ett exempel på hur den här egenskapen används ger LogicalDirection den som TextPointer returneras av en träfftestmetod en träff som är mellan två tecken i text. Den logiska riktningen anger vilket av de två tecknen som faktiskt har träffats – vänster eller höger.

Gäller för