Skip to content

Latest commit

 

History

History
23 lines (15 loc) · 784 Bytes

Lab01.md

File metadata and controls

23 lines (15 loc) · 784 Bytes

Lab 1 - XAML

XAML Elements, Attributes, Code Behind

Create a WPF application with a Button, customize the Button using XML attributes and child elements

Drawing with Shapes and Brushes

  • Create a WPF application using Ellipse, Rectangle, and Canvas
  • Use different brushes, e.g. SolidColorBrush, LinearGradientBrush, RadialGradientBrush

Shapes and Events

  • Create a WPF application with shapes
  • Change the color of a shape when clicking on the shape

Prepare for future Labs

  • Create a WPF application BooksSample
  • Create a folder Models
  • Create a Book class with Title, Publisher, Isbn properties
  • Instantiate a Book object within XAML Code and set properties (within Window.Resources)
  • Debug the application (using breakpoints within the Book class)