Since you need a dashed line, use the Line object and set it to the bottom of your control
<Line Stroke="Red" Height="2" Stretch="Fill" X2="1" StrokeDashArray="1 2" VerticalAlignment="Bottom" />
If you don't need a dashed line, I would recommend Border
with the BorderThickness
property set to 0,0,0,1
source share