Readme - Code Samples for Chapter 31, Styling Windows Apps
December 23, 2021 ยท View on GitHub
Styling Windows Apps explains XAML shapes and geometry elements, dives into styles, and control templates, gives you information on creating animations, and explains how you can use the Visual State Manager with your XAML-based applications.
The sample code for this chapter contains this solution:
- Shapes (Canvas, Ellipse, Path)
- Geometries (PathGeometry, GeometryGroup, PathFigure, Path, BezierSegment...)
- Transformations (ScaleTransform, TranslateTransform, RotateTransform, SkewTransform, TransformGroup, MatrixTransform)
- Brushes (SolidColorBrush, LinearGradientBrush, ImageBrush, AcrylicBrush, ButtonRevealStyle)
- StylesAndResources (Style, StaticResource, Themes)
- Templates (Control templates, container styles)
- Animation (Timeline, easing functions)
- Transitions (EntranceThemeTransition, RepositionThemeTransition..)
- VisualStates (VisualStateManager)
See WinUI what you need to install and develop WinUI applications.
WinUI 0.8 and 1.0 Updates
Announcing: WinUI 3 - Windows App SDK 0.8
- Brushes sample: the
BackgroundSourceproperty of theAcrylicBrushhas been removed, but it is planned to be added back with version 1.1 (see WinUI Roadmap)
Sample GIF
See the gif files for the sample animations:
Code Comments
For code comments and issues please check Professional C#'s GitHub Repository
Please check my blog csharp.christiannagel.com for additional information for topics covered in the book.
Thank you!