I want to draw a line vertical line in my wp8 c# project. I already have a horizontal line but I can't figure out how to get the vertical line. How can I draw a vertical line?
This is my horizontal line
<Line Stretch="Fill" StrokeDashArray="4,1" Stroke="Black" X1="0" X2="1" Y1="0" Y2="0"/>
X1 and X2 changes the values horizontally, draws a horizontal line For drawing a vertical line you need to change Y values keeping that X fixed ...
<Line Stretch="Fill" StrokeDashArray="4,1" Stroke="Black" X1="0" Y2="100"/>
Check if this works.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.