Generating a line automatically
Can I know solution for my query regarding line, I mean to say that I want to generate a line automatically when a program is running and it is not of a particular length. It's length should goes on increase when the program is running. I tried to use Path class in UI.XAML.SHAPES but it possible only by using xaml code by using property. I want to write that code as backend such that it should generate a line automatically. I have gone through with Move and Draw Commands but I am unable to understand. Please suggest any code, sample, or documentation regarding this query so that, it will be very helpful for my project. As I am trying to develop a game targeting windows store applications 8.1 by using C# language.

Sourabh SomaniRank #37 · 35.5K reputationPosted Nov 17, 2015, 2:32 AM EST
<Line X1="50" Y1="50" X2="200" Y2="200" Stroke="Red" StrokeThickness="4" Name="line1" />
Sarva Siddartha16 reputationPosted Dec 14, 2015, 9:26 PM EST