Windows Presentation Foundation 5: Interaction and Controls
5h 52mBeginner2017-06-16
Authors

Walt Ritscher
Programmer, UI Designer, Staff Instructor at LinkedIn Learning
Course details
Windows Presentation Foundation (WPF) in Visual Studio 2015 provides developers with a unified programming model for building modern line-of-business desktop applications on Windows. This course covers how to work with the essential WPF controls and classes to create interactivity. Join Walt Ritscher as he takes you through how to leverage fundamental code families. Walt uses a custom app shell to show the examples and demonstrate the code in each chapter. Get ready to explore the broad world of interaction and control options that you can leverage by learning about the types of classes that support user interaction and the definitions of the features found in UI elements.
Learning objectives
Interactions and controls
FrameworkElements
UIElement family
FrameworkElement family
Shape family
Decorator Family
Control Fundamentals
Button family
Text Editor family
Learning objectives
Interactions and controls
FrameworkElements
UIElement family
FrameworkElement family
Shape family
Decorator Family
Control Fundamentals
Button family
Text Editor family
Skills covered
Visual StudioWindowsWeb Development ToolsSoftware Development ToolsWeb DevelopmentMicrosoftSoftware DevelopmentDeep Dive (X:Y)
Concepts
0. Introduction
- 01 - Welcome
- 02 - What you should know before watching
- 03 - Set up your developer computer
- 04 - Clone the exercise files from GitHub
- 05 - Use Checkout to open exercise files from Git branches
- 06 - Tour the example app shell
1. Overview of Interaction and Controls
- 07 - Explore the control family tree
- 08 - Examples of FrameworkElement
- 09 - Modes of interaction
2. Work with Controls and FrameworkElements
- 10 - Add elements to the visual tree
- 11 - Review of Control Styles
- 12 - Review of Control Templates
- 13 - Add a simple Button template
3. The UIElement Family
- 14 - Overview
- 15 - Change the opacity level
- 16 - Show, hide and collapse controls with visibility
- 17 - Mouse events
- 18 - Touch events
- 19 - Drag events
- 20 - Key events
4. The FrameworkElement Family
- 21 - Overview
- 22 - Set a control cursor
- 23 - Use a basic tooltip
- 24 - Create an enhanced tooltip
- 25 - Work with Width and Actual Width
- 26 - Work with the Min and Max length properies
- 27 - Arrange elements with Alignment
- 28 - Work with Margin
5. The Shape Family
- 29 - Overview
- 30 - Use the Shape Stretch property
- 31 - Set the Fill and Stroke brushes
- 32 - Work with the line shape
- 33 - Work with Polyline and Polygon
- 34 - Use the StrokeDashArray and EndCap properties
- 35 - Create drawings with Path
- 36 - Use Blend for Visual Studio to draw a Path
- 37 - Hit testing with geometries
6. The Decorator Family
- 38 - Overview
- 39 - The Border
- 40 - The Viewbox
7. Control Fundamentals
- 41 - Overview
- 42 - Keyboard focus in controls
- 43 - Understand keyboard focus and IsTabStop
- 44 - Changing tab order with TabIndex
- 45 - Content alignment within a control
- 46 - Change font properties
8. The Button Family
- 47 - Overview
- 48 - The button
- 49 - Set the default and cancel buttons
- 50 - Click mode
- 51 - The RepeatButton
- 52 - The Toggle button
- 53 - The CheckBox
- 54 - The RadioButton
9. The Text Display Family
- 55 - Overview
- 56 - Display text with TextBlock
- 57 - Use formatted text in TextBlock
- 58 - Work with Label and content
- 59 - Use the Label as an Access Key
10. The Text Editor Family
- 60 - Gather text input with Textbox
- 61 - Select Text
- 62 - Use the SpellCheck
- 63 - The TextBox Changed events
- 64 - Use the TextBox methods
- 65 - Load file content into RichTextBox
- 66 - Show complex text with RichTextBox
- 67 - Password input
11. Additional Controls
- 68 - The slider
- 69 - The ProgressBar
- 70 - Work with date input
- 71 - Show and hide UI with the expander
Conclusion
- 72 - Next steps
Related courses
- Windows Presentation Foundation: 1 Build Dramatic Desktop Applications
- Windows Presentation Foundation: 3 Events and the Event Model
- Microsoft XAML: 1 Core Concepts
- Windows Presentation Foundation 4: Brushes and Colors
- Windows Presentation Foundation: 2 Layout
- Residential Design and Visualization: Concept Development
- Revit Architecture: Designing a House
- Learning Microsoft Paint 3D