Skip to main content
Version: 11.0.x

Styling

Avalonia provides two 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.