Search code examples
xamldrawing

Drawing arrow with XAML


I don't know how can I draw an arrow with XAML. I haven't any code at the moment.

Someone can help me to make this draw with XAML code ?

Thank you for your help.


Solution

  • You can use TextBlock (http://xahlee.info/comp/unicode_arrows.html)

    <TextBlock Text="&#x2794;" />
    

    Or Path (https://msdn.microsoft.com/en-us/library/system.windows.shapes.path%28v=vs.110%29.aspx)

    <Path Stroke="Black" Data="M 10 0 L 16 4 L 10 8 M 0 4 L 16 4" />
    

    Maybe this tool can be useful to you PathViewer