共用方式為


MouseHoverEventArgs.Position Property

Definition

The position in the SnapshotSpan of the character under the mouse at the time of the hover.

public:
 property int Position { int get(); };
public:
 property int Position { int get(); };
public int Position { get; }
member this.Position : int
Public ReadOnly Property Position As Integer

Property Value

The position in the snapshot span of the character under the mouse at the time of the hover.

Applies to