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).

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
© 2015 Microsoft