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.
Public classLineDraws a straight line between two points.
Public classPathDraws a series of connected lines and curves.
Public classPolygonDraws a polygon, which is a connected series of lines that form a closed shape.
Public classPolylineDraws a series of connected straight lines.
Public classRectangleDraws a rectangle.
Public classShapeProvides a base class for shape elements, such as Ellipse, Polygon, and Rectangle.

Community Additions

Show:
© 2017 Microsoft