Learn your way! Get started

Windows 8 Using XAML, Part 07: Brushes

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/17/2012
Level Intermediate
Runtime 1h 14m
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

This course will show you how to work with Brushes and Transforms for your Windows 8 applications. It will start with showing you how to work with solid, gradient, and image brushes. Then you will learn how to add transparency effects. Then you will investigate built-in transforms and then learn to add reflection effect using opacity and transforms.

Prerequisites

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



Brushes

Brushes (31:50)
  • Introduction (00:45)
  • Whats a Brush? (00:28)
  • Missing in Action (00:49)
  • SolidColorBrush Class (00:22)
  • How to Select a Color (01:38)
  • Use Named Colors (00:42)
  • Use #rrggbb or #aarrggbb Syntax (01:18)
  • Use Element.Property Syntax (00:47)
  • Demo: Solid Color Brush (04:05)
  • LinearGradientBrush Class (00:57)
  • LinearGradientBrush (02:25)
  • Rotating the Gradient (00:59)
  • Changing the Stop Points (00:34)
  • Demo: LinearGradientBrush (05:06)
  • Extending the Gradient (01:04)
  • Rectangles Only? (00:21)
  • Demo: Gradient Features (03:34)
  • Demo: Nonrectangular gradients (01:52)
  • Using Visual Studio (00:28)
  • Demo: Using Visual Studio (02:42)
  • Summary (00:45)
Image Brush (13:31)
  • Introduction (00:53)
  • ImageBrush Class (01:28)
  • ImageBrush (00:24)
  • Demo: ImageBrush (04:43)
  • Demo: ImageBrushText (01:11)
  • Using Transparency (01:22)
  • Demo: Transparency (02:32)
  • Summary (00:54)
Transformations (28:56)
  • Introduction (00:40)
  • Transforms (03:35)
  • Repeating Shapes (00:45)
  • Rotate Transform (01:19)
  • Demo: Rotate Transform (03:53)
  • Scale Transform (00:31)
  • Demo: Scale Transform (02:42)
  • Skew Transform (00:39)
  • Demo: Skew Transform (02:38)
  • Translate Transform (00:22)
  • Demo: Translate Transform (00:50)
  • Avoiding Absolute Coordinates (00:56)
  • Demo: TransformOrigin (03:13)
  • Transforming a Control (00:52)
  • Demo: Transforming a Control (01:43)
  • Adding Reflection Effects (01:11)
  • Demo: Reflection effects (01:58)
  • Summary (01:04)