パスをクリックすると、正確な Pathfigure インスタンスを取得する方法は? My Path には複数の pathFigures があります。次の Xaml コードがあります。
<Path Stroke="Black">
<Path.Data>
<PathGeometry>
<PathFigure StartPoint="5,5">
<LineSegment Point="10,10"/>
<LineSegment Point="20,60"/>
<LineSegment Point="70,90"/>
</PathFigure>
<PathFigure StartPoint="20,60">
<LineSegment Point="30,20"/>
<LineSegment Point="40,70"/>
<LineSegment Point="70,80"/>
</PathFigure>
</PathGeometry>
</Path.Data>
</Path>