What is the Data value of plus sign in Path

How to draw plus and minus signs in using data property in Path object.

This is my triangle path object. I need to change it to plus symbol.

<Path x:Name="trianglePath"  Data="M 0 8 H 12 V 15 Z"/>


Here, I've created a plus and minus sign which is 10 x 10 pixels using XAML path markup syntax:

<Path Margin="10" Stroke="White" Data="M0,5 H10 M5,5 V10Z"  StrokeThickness="2" Height="10" Width="10" />

<Path Margin="10" Stroke="White" Data="M0,5 H10"  StrokeThickness="2" Height="10" Width="10" />

When experimenting with designing your path drawing, it's helpful to set the path element's height & width first. To better understand XAML path markup syntax, see MSDN.

You might find it easier if you draw them out on a piece of graph paper and then label the vertices with the values needed to reach it from the previous one.

Then copy this into your code.

Need Your Help

representing manytomanyfield with extra attributes in django

sql django model foreign-keys relation

I have a situation where i need to store a table of "Product"'s and a table of "Order"'s on these products.

std string problem with libcurl - c++

c++ string visual-studio-2005 libcurl

I'm pretty new to c++ and I'm using libcurl to make an http request and get back a string with the respond's content.