Programming with WPF
Developing user interfaces with the Windows Presentation Foundation (WPF) is the main part of this training/workshop. Good software solutions are characterised by good user interfaces and user guidance. This is exactly what the participants will learn in this training.
They will get a comprehensive overview of existing techniques and contexts. With simple, but also more difficult exercises, the participants put their knowledge into practice. In addition, they learn the shortest ways to reach the goal. At the end of the workshop, they will be able to create programmes on their own and will usually feel a desire for more information.
Suitable for
- Software architects
- Software designers
- Software developers
Previous Knowledge
- C#
Working Form and Duration
- 3 days
Dates
- currently on request
Materials Participants
- Laptop
- Visual Studio (2017, 2019, 2022)
- Good but not mandatory Visio (2016, 2019, 2021 or 2022)
- Stationery
Training Room
- Projector
- Whiteboard, blackboard or flipchart
Content of the 3-day Training / Workshop
Day 1
- Overview
- Introduction
- WPF project templates
- Files of a WPF application
- A first example
- Element trees
- Exercise
- XAML
- XAML file structure
- Setting the properties of a XAML element
- Type conversion
- Markup extensions
- XAML namespaces
- XAML language extensions
- Comments / #region directive
- Exercise
- Layoutcontainer
- General
- Different layout containers
- Nesting Layout Containers
- Exercise
- WPF Controls
- General
- Important properties
- Different controls
- Exercise
- Outlook to day 2
Day 2
- Review (Training Day 1)
- Overview Day 2
- Events
- General
- Registering Event Handlers
- Routing Strategies
- The Event Handler
- Example of mouse events
- Exercise
- Resources
- General
- Binary Resources
- Logical Resources
- Exercise
- Styles
- General
- Untyped Styles
- Typed Styles
- Extending Styles (BasedOn)
- Exercise
- Trigger
- General
- Property Trigger
- Multitrigger
- Datatrigger
- Multidatatrigger
- Event Trigger
- Exercise
-
Outlook for the next day
Day 3
- Review (Training Day 2)
- Overview Day 2
- Globalisation and Localisation
- General
- Globalisation
- Localisation
- Exercise
- Data Binding - Part I
- General
- The Binding Class
- Exercise
- Data Binding - Part II
- Converter
- Validation
- Updating data classes
- Exercise
- Data Binding - Part III
- Data Binding of Lists
- The class ObservableCollection<T>.
- DataTemplates
- Exercise
- Completion