仅使用 XAML 绘制纯色三角形

是否可以仅使用 XAML (而不是解决方案后面的代码)绘制填充三角形?

三角形应该像下面的图片一样,表示排序方向 Ascending/Descending以及图表控件上的排序按钮:

enter image description here

编辑: 解决方案,感谢 SpeziFish:

上升:

<Polygon Points="0,0 8,5, 0,10" Stroke="Black" Fill="Black" />

下降:

<Polygon Points="8,0 0,5, 8,10" Stroke="Black" Fill="Black" />
69963 次浏览
<Polygon Points="0,0 80,50, 0,100" Stroke="Black" Fill="Black" />

See API or Example.

Using paths

<Path Width="33" Height="37" Stretch="Fill" Stroke="Black" Fill="Black" Data="F1 M 319.344,237.333L 287.328,218.849L 287.328,255.818L 319.344,237.333 Z "/>
<Path Width="33" Height="37" Stretch="Fill" Stroke="Black" Fill="Black" Data="F1 M 287.328,237.333L 319.344,255.818L 319.344,218.849L 287.328,237.333 Z "/>

I want to add these to their collection:

enter image description here

    <Polygon Points="5,0 10,10, 0,10" Stroke="Black" Fill="Black" />

enter image description here

    <Polygon Points="0,0 5,10, 10,0" Stroke="Black" Fill="Black" />