Learn your way! Get started

Windows 8 Using XAML, Part 06: Shapes

with expert Ken Getz

Watch trailer

Course at a glance

Included in these subscriptions:

  • Dev & IT Pro Video
  • Dev & IT Pro Power Pack

Release date 12/10/2012
Level Intermediate
Runtime 1h 1m
Closed captioning N/A
Transcript N/A
eBooks / courseware Included
Hands-on labs Included
Sample code Included
Exams Included

Enterprise Solutions

Need reporting, custom learning tracks, or SCORM? Learn More

Course description

In this course you will learn to apply Shapes and Geometrics to your Windows 8 applications. You will learn to use basic shapes: lines, ellipses, rectangles, and polygons. Then you will see how to add line caps and joins. Next the course will cover how to work with geometries and paths. Then you will investigate the geometry mini-language.


This course assumes that you have some programming background and experience using Visual Studio 2010 and C# or Visual Basic. In addition, the course assumes some basic knowledge of XAML markup and basic knowledge of Windows Store applications and Windows 8.

Learning Paths

This course will help you prepare for the following certification and exam:
MCSD: Windows Store Apps
70-484: Essentials of Developing Windows Store Apps Using C#

This course is part of the following LearnNowOnline SuccessPaths™:
Building Windows Store Applications

Meet the expert

Ken Getz is a featured instructor for several of our Visual Studio courses. He is a Visual Basic and Visual C# expert and has been recognized multiple times as a Microsoft MVP. Ken is a seasoned instructor, successful consultant, and the author or co-author of several best-selling books. He is a frequent speaker at technical conferences like Tech-Ed, VSLive, and DevConnections and he has written for several of the industry's most-respected publications including Visual Studio Magazine, CoDe Magazine, and MSDN Magazine.

Course outline


Shapes and Geometries (24:09)
  • Introduction (00:46)
  • Working with Shapes (00:18)
  • Investigating Basic Shapes (00:41)
  • The Shape Class (02:04)
  • Rectangle and Ellipse Shapes (00:57)
  • Demo: Basic Shape Features (02:52)
  • Rounding Corners (00:57)
  • Demo: Rounded Corners (03:00)
  • Positioning and Sizing Shapes (00:51)
  • Positioning Shapes (00:57)
  • Demo: Stretch Property (02:14)
  • Demo: Positioning shapes (03:14)
  • Resizing Shapes (00:33)
  • ViewBox Control (00:54)
  • Demo: Resizing Shapes (03:07)
  • Summary (00:37)
Line Shape (21:29)
  • Introduction (00:48)
  • Line Shape (01:01)
  • Demo: Line Shape (03:29)
  • Adding Line Caps (01:32)
  • Demo: Line Caps (03:24)
  • Using Dashes (00:29)
  • StrokeDashArray (03:02)
  • Demo: Simple Dashes (02:19)
  • Demo: Dash Caps (02:35)
  • Demo: Stroke Dash Offset (02:00)
  • Summary (00:45)
Polyline, Polygon, and Fill Rule (15:57)
  • Introduction (00:56)
  • Polyline Shape (01:02)
  • Polyline (01:32)
  • Demo: Polyline (03:47)
  • The Polygon Shape (00:53)
  • FillRule (01:58)
  • Demo: Polygon Shape (02:48)
  • Using Line Joins (01:03)
  • Demo: Line Joins (01:14)
  • Summary (00:39)