I need to create a repeat symbol in XAML / WPF (procedural code would be ok too, though I’d prefer XAML if possible), something like the following, but I just need the not finished circle with the arrow (the white drawing in the button):
http://www.vista-style-icons.com/libs/phone/repeat.htm
I know how to create a circle in XAML, but I don’t know how to create a not finished circle and add an arrow to the open end?
Thank you for any help!
You can create an unfinished circle by using an ArcSegment as a path segment in a Path shape. You specify the start and end point of the arc and the radius of the entire circle. You can render it on top of a blue circle by putting them in a grid:
You can also use the shorter Path Markup Syntax to create a StreamGeometry rather than a PathGeometry:
You’ll need to work on it to get exactly the look you want, but that should give you the basic technique for drawing an unfinished circle with an arrow.