C# Class Ext.Net.Examples.Examples.Miscellaneous.UI.Shared.ThemeListHandler

Show file Open project: extnet/Ext.NET.Examples

Public Properties

Property Type Description
ThemeList List

Public Methods

Method Description
AddThemeListTo ( ComboBox &comboBox ) : void

Adds the list of themes to the specified combobox reference.

GetThemeFromId ( int id ) : Ext.Net.Theme

Get the Ext.Net.Theme from the provided integer id.

GetThemeFromId ( string id ) : Ext.Net.Theme

Get the Ext.Net.Theme from the provided string representation of numeric id.

Method Details

AddThemeListTo() public static method

Adds the list of themes to the specified combobox reference.
public static AddThemeListTo ( ComboBox &comboBox ) : void
comboBox ComboBox
return void

GetThemeFromId() public static method

Get the Ext.Net.Theme from the provided integer id.
public static GetThemeFromId ( int id ) : Ext.Net.Theme
id int
return Ext.Net.Theme

GetThemeFromId() public static method

Get the Ext.Net.Theme from the provided string representation of numeric id.
public static GetThemeFromId ( string id ) : Ext.Net.Theme
id string
return Ext.Net.Theme

Property Details

ThemeList public static property

Enumerated list of all available theme names. Including the 'none' theme.
public static List ThemeList
return List