Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

System.Windows.Shapes Namespace

Provides access to a library of shapes that can be used in Extensible Application Markup Language (XAML) or code.

 ClassDescription
Public classEllipseDraws an ellipse. This class cannot be inherited.
Public classLineDraws a straight line between two points. This class cannot be inherited.
Public classPathDraws a series of connected lines and curves. This class cannot be inherited.
Public classPolygonDraws a polygon, which is a connected series of lines that form a closed shape. This class cannot be inherited.
Public classPolylineDraws a series of connected straight lines. This class cannot be inherited.
Public classRectangleDraws a rectangle. This class cannot be inherited.
Public classShapeProvides a base class for shape elements, such as Ellipse, Polygon, and Rectangle. This class is abstract.

Community Additions

Show:
© 2017 Microsoft