Class ThemeChangedEventArgs
- Namespace
- SharpConsoleUI.Core
- Assembly
- SharpConsoleUI.dll
Event arguments for theme changes
public class ThemeChangedEventArgs : EventArgs
- Inheritance
-
ThemeChangedEventArgs
- Inherited Members
Constructors
ThemeChangedEventArgs(ITheme?, ITheme)
Initializes a new instance of the ThemeChangedEventArgs class.
public ThemeChangedEventArgs(ITheme? previousTheme, ITheme newTheme)
Parameters
previousThemeIThemeThe previous theme, or null if this is the initial theme.
newThemeIThemeThe new theme that was applied.
Properties
NewTheme
The new theme
public ITheme NewTheme { get; }
Property Value
PreviousTheme
The previous theme
public ITheme? PreviousTheme { get; }