Styling
Avalonia provides three primary mechanisms for styling controls:
Styles
- Styles are similar to CSS styles and are usually used to style controls based on their content or purpose within the application; for example creating a style for header text blocks.
Control themes
- Control Themes are similar to WPF/UWP styles and are usually used to apply a theme to controls.
Container Queries
- Container Queries are collection of styles that are applied based on the size of a container.