New to Telerik UI for WinForms? Start a free 30-day trial

Provides data for theme change events in Telerik WinControls.

This event arguments class is used when a control's theme is changed, providing information about the new theme that has been applied to the control.

Definition

Namespace:Telerik.WinControls

Assembly:Telerik.WinControls.dll

Syntax:

C#
public class ThemeChangedEventArgs : EventArgs

Inheritance: objectEventArgsThemeChangedEventArgs

Inherited Members EventArgs.Empty

Constructors

Initializes a new instance of the ThemeChangedEventArgs class.

C#
public ThemeChangedEventArgs(string themeName)
Parameters:themeNamestring

The name of the new theme that has been applied.

Properties

Gets the name of the theme that has been applied.

C#
public string ThemeName { get; }
Property Value:

A string representing the name of the current theme, such as "Office2019", "Material", etc.