Class ThemeChangeEventArgs
This event is triggered when a user changes the preferred theme.
Inherited Members
Namespace: OpenTK.Core.Platform
Assembly: OpenTK.Core.dll
Syntax
public class ThemeChangeEventArgs : EventArgs
Constructors
ThemeChangeEventArgs(ThemeInfo)
Initializes a new instance of the ThemeChangeEventArgs class.
Declaration
public ThemeChangeEventArgs(ThemeInfo newTheme)
Parameters
Type | Name | Description |
---|---|---|
ThemeInfo | newTheme | The new ThemeInfo. |
Properties
NewTheme
A ThemeInfo struct representing the new preferred theme.
Declaration
public ThemeInfo NewTheme { get; }
Property Value
Type | Description |
---|---|
ThemeInfo |