Table of Contents

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

previousTheme ITheme

The previous theme, or null if this is the initial theme.

newTheme ITheme

The new theme that was applied.

Properties

NewTheme

The new theme

public ITheme NewTheme { get; }

Property Value

ITheme

PreviousTheme

The previous theme

public ITheme? PreviousTheme { get; }

Property Value

ITheme