Description
In this course, you will :
- Learn how to start your custom control by selecting a base class. Add your own custom properties to enable data binding support.
- Learn how to create custom commands and add custom events. Using triggers and the visual state manager, you can add visual behaviour to your custom control.
- learn how to add the support for theming to your custom control.
Syllabus :
1. Creating Custom Controls
- Choosing a base class
- Presenters
- Data Binding
- Acessing Template Elements
2. Adding Properties
- Dependency Propertes
- Property Metadata
- ReadOnly Properties
- Collection Type Properties
- Attached Properties
3. Events and Commands
- Understanding Routed Events
- Custom Routed Events
- Understanding Routed Commands
- Custom Routed Commands
4. Visual Behavior
- Triggers
- VisualStateManager
- Triggers vs. VisualStateManager
5. Theming
- Creating Themes
- Theme Naming Conventions
- Assembly Attributes
- Theming Tips