C# Introduction to WPF
Time Description 0:00:00 Windows Presentation Foundation 0:00:10 Introduced in .NET 3.0 along with Windows Workflow Foundation and Windows Communication Foundation 0:00:50 WPF is a framework for GUI, graphics, animation and multimedia 0:01:00 Basic WPF program (ch25, Fig 32.1) 0:01:10 XAML – Extensible Application Markup Language 0:01:20 Descriptive markup language used to arrange GUI controls (like HTML) 0:01:33 In contrast Windows Forms uses C# code to create GUI 0:02:31 Graphic Designers can create the front end and coders the backend 0:03:05 Window = Form 0:03:24 Class = is the class name of the associated code-behind class 0:03:48 Window is a content control – means it can have only one element 0:03:58 Layout containers to host multiple controls 0:04:49 Elements represent .NET Classes 0:19:53 Attached Property = Canvas.Left 0:27:17 Grid, Column and Rows 0:37:33 In a WPF Grid, Width="*" or Height="*" means proportional sizing. 0:38:55 The width of * sized columns is calculated by allocating space for the auto, and fixed width columns, and then dividing up the remaining space. So if there's only one * sized column, it will get all the remaining space, if there were two they would get half each, etc. You can also change the proportion allocated to each star sized column. If column A had a size of 2* and B had a size of 3* then A would get two shares of the space and B would get 3 shares. 0:45:24 WPF Painter Program (ch25, Figure 32.5) 0:56:18 WPF Routed Events Program (ch25, Figure 32.11) 0:56:28 Routed Events 0:57:07 Events can travel up (from child to parent) or down (from parent to child) the containment hierarchy 0:59:39 Bubbling events travel up and tunneling events travel down 1:02:56 Tunneling events have the prefixes of “Preview” 1:04:11 WPF Style program (Ch25, Figure 32.15) 1:04:42 Allow all controls to have the same look and feel 1:05:53 Similar to HTML CSS 1:09:09 WPF Resource 1:09:49 Are objects that are defined for an entire section of your application (such as a style) 1:15:03 WPF Template Program (Ch25, Figure 32.23) 1:15:31 Allow you to change the look and feel of your GUIs 1:17:47 All WPF controls are lookless, but they have a default template
Download
0 formatsNo download links available.