WPF using Visual Basic training course (3 days)
WPF - Windows Presentation Foundation - is the basis for Visual Studio 2010, SilverLight … and your next application! WPF provides an alternative to traditional Windows Forms applications, offering better graphics, styles and themes, support for different media and better data-binding.
Our aim is not to teach you every minute detail of WPF, but instead to get you started and give you the confidence to understand what WPF is about. A full courseware manual will be provided, covering more than we actually have time to fit in.
You do not have to have a programming background for this course, but if you have used VB, VBA or VB6 before you will find it easier. Likewise, experience of HTML or XML is not necessary, but if you have done some website development some of the concepts will be more familiar.
The course will use Visual Basic 2010 as its programming language, Visual Studio 2010 as a development environment and SQL Server as the underlying database.
WPF using Visual Basic training - Course Contents
The contents of our WPF using Visual Basic course are as follows (any items marked with a * will be covered if time allows):
WPF Basics
- Using Visual Studio
- WPF compared to WinForms
- Creating WPF projects
Drawing forms
- Window properties
- Writing XAML
- Adding and formatting controls
- Running an application
Attaching code to events
- Creating event-handlers
- Displaying messages
- Commenting code
- Using variables
Principles of layout
- Types of flow control
- Stack panels, dock panels, etc.
- The control hierarchy
Grid and Canvas controls
- 2-dimensional grids
- Grid versus Canvas
- Associated properties
Line drawings
- Rectangles, ellipses, etc.
- Pens and brushes
- Gradient brushes
Transformations
- Types of transformation
- Render vs layout transforms
Styles
- Creating styles for controls
- Named and unnamed styles
- Style inheritance
|
Using resources
- Creating resources for controls
- Data type resources
- Resource dictionaries
Event and property triggers
- Property triggers in styles
- Creating event triggers
Animations and storyboards
- Types of storyboard
- Running and pausing storyboards
- Key frame animations
Menus and toolbars
- Creating menus in WPF
- Right mouse button menus
- Laying out toolbars
Binding controls
- Source and target properties
- Examples of binding
Data binding
- ADO.NET
- Datasets and data adapters
- Setting the data context
- Customising listboxes
Datagrids
- Datagrid columns
- Formatting the parts of a datagrid
- Handling datagrid events
Deploying applications
- ClickOnce deployment
- Installing applications
|
No formal pre-requisites are needed, but if you are completely new to programming and HTML you will find the course difficult. There will be a maximum of 6 people on each course, and each person will have their own computer.