PathGeometry Figure
<Window x:Class="Drawing.MiniLanguage"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
Title="MiniLanguage" Height="380" Width="340">
<StackPanel>
<Path Stroke="Blue">
<Path.Data>
<PathGeometry Figures="M 10,100 L 100,100 L 100,50 Z"></PathGeometry>
</Path.Data>
</Path>
<Path Stroke="Blue" Data="M 10,100 L 100,100 L 100,50 Z"/>
</StackPanel>
</Window>
Related examples in the same category