1.复制SVG代码 找到path节点d属性值
2.xaml页面标签使用Path 标签根据SVG代码path d属性值设置Data值,修改长宽和填充样式的颜色(Stretch、Fill、Stroke、Height、Width)
<Path Data="M5.73 480.3h1012.65v64H5.73z"
Stretch="Fill" Fill="Black" Stroke="Black" Width="12" Height="2.5" VerticalAlignment="Center" HorizontalAlignment="Center"/>