ThemeChangedEventArgs
- Assembly:
Fluence.Wpf - Namespace:
Fluence.Wpf
public class ThemeChangedEventArgs : EventArgs
Provides data for the Changed event.
Remarks: Initializes a new instance of the ThemeChangedEventArgs class.
Parameter theme: The resolved application theme after the change.
Parameter accentColor: The accent color applied with the theme.
Base type: EventArgs (including inherited WPF and .NET members)
Constructors
ThemeChangedEventArgs
public ThemeChangedEventArgs(ApplicationTheme theme, Color accentColor)
Provides data for the Changed event.
Remarks: Initializes a new instance of the ThemeChangedEventArgs class.
Parameter theme: The resolved application theme after the change.
Parameter accentColor: The accent color applied with the theme.
Properties
AccentColor
public Color AccentColor { get; }
Gets the accent color associated with this theme application.
Theme
public ApplicationTheme Theme { get; }
Gets the resolved theme (Light, Dark, HighContrast, or logical Auto resolved to a concrete theme).