Show / Hide Table of Contents

Class ThemeChangeEventArgs

This event is triggered when a user changes the preferred theme.

Inheritance
object
EventArgs
ThemeChangeEventArgs
Inherited Members
EventArgs.Empty
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: OpenTK.Platform
Assembly: OpenTK.Platform.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

See Also

GetPreferredTheme()
ThemeInfo
In this article
Back to top Generated by DocFX