AppearanceService class¶
The default IAppearanceService implementation, driving the appearance of the running Application.
Public Members¶
| name | description |
|---|---|
| AppearanceService() | The default constructor. |
| Densities { get; } | |
| Palettes { get; } | |
| SelectedDensity { get; set; } | |
| SelectedPalette { get; set; } | |
| SelectedTheme { get; set; } | |
| Themes { get; } | |
| event PropertyChanged |
Remarks¶
The variants are always available. Palettes and densities come from the theme in use: with the DeltaDesign theme every one of its palettes and densities is offered, and with a theme that has none the corresponding list is empty and assigning the selection does nothing.
The lists are built on first use rather than in the constructor, so the service may be registered before the application styles exist.