|
Vereinsmeisterschaften
22aa7800eae54b428d40e835886cefe1fdefdfdf
This is a software that can be used to manage the internal competition of the swimming club Illertissen called "Vereinsmeisterschaften".
|
Service to manage the application theme selection. More...
Public Member Functions | |||
| ThemeSelectorService () | |||
| Constructor for the ThemeSelectorService. | |||
| void | InitializeTheme () | ||
| Initializes the theme manager with high contrast themes and set the current theme. | |||
| void | SetTheme (AppTheme theme) | ||
Sets the application theme based on the provided AppTheme enum value.
| |||
| AppTheme | GetCurrentTheme () | ||
Gets the current application theme from the application properties.
| |||
Static Private Attributes | |
| const string | HcDarkTheme = "pack://application:,,,/Styles/Themes/HC.Dark.Blue.xaml" |
| const string | HcLightTheme = "pack://application:,,,/Styles/Themes/HC.Light.Blue.xaml" |
Service to manage the application theme selection.
Definition at line 15 of file ThemeSelectorService.cs.
| Vereinsmeisterschaften.Services.ThemeSelectorService.ThemeSelectorService | ( | ) |
Constructor for the ThemeSelectorService.
Definition at line 23 of file ThemeSelectorService.cs.
| AppTheme Vereinsmeisterschaften.Services.ThemeSelectorService.GetCurrentTheme | ( | ) |
Gets the current application theme from the application properties.
Implements Vereinsmeisterschaften.Contracts.Services.IThemeSelectorService.
Definition at line 59 of file ThemeSelectorService.cs.
| void Vereinsmeisterschaften.Services.ThemeSelectorService.InitializeTheme | ( | ) |
Initializes the theme manager with high contrast themes and set the current theme.
Implements Vereinsmeisterschaften.Contracts.Services.IThemeSelectorService.
Definition at line 28 of file ThemeSelectorService.cs.
| void Vereinsmeisterschaften.Services.ThemeSelectorService.SetTheme | ( | AppTheme | theme | ) |
Sets the application theme based on the provided AppTheme enum value.
| theme | AppTheme enum value to determine the theme to set |
Implements Vereinsmeisterschaften.Contracts.Services.IThemeSelectorService.
Definition at line 41 of file ThemeSelectorService.cs.
|
staticprivate |
Definition at line 17 of file ThemeSelectorService.cs.
|
staticprivate |
Definition at line 18 of file ThemeSelectorService.cs.