Windows Presentation Foundation (WPF) provides support for drawing basic shapes using the Shape class. Shape objects derive from FrameworkElement and as such, participate in the layout system and can be drawn simply using Extensible Application Markup Language (XAML).
The feedback system for this content will be changing soon. Old comments will not be carried over. If content within a comment thread is important to you, please save a copy. For more information on the upcoming change, we invite you to read our blog post.