[]
        
(Showing Draft Content)

C1.Win.C1Themes.C1ThemePicker

C1ThemePicker Class

Represents a drop-down list to select one of the registered theme and apply it to assigned C1ThemeController.

Inheritance
C1ThemePicker
Namespace: C1.Win.C1Themes
Assembly: C1.Win.C1Themes.Extended.4.8.dll
Syntax
[ToolboxBitmap(typeof(C1ThemePicker), "C1ThemePicker.png")]
[C1Description("C1ThemePicker", "Represents a drop-down list to select one of the registered theme and apply it to assigned C1ThemeController.")]
public class C1ThemePicker : C1ComboBox

Properties

Name Description
Filter

Gets or sets the regular expression to determine theme names which should be displayed in drop-down list.

SelectedTheme

Gets the selected theme that is the C1Theme object.

SelectedThemeName

Gets or sets the selected theme name. The theme will be assigned if such a theme name is present in the registered themes of the application.

ShowDefault

Gets or sets whether to show "(default)" item in drop-down list.

ThemeController

Gets or sets the associated C1ThemeController which applies the selected theme.

ThemeNames

Gets the array of the registered (and filtered if filter is set) theme names.

Methods

Name Description
Dispose(bool)

Releases the resources used by the C1ThemePicker.

OnThemeApplying(ThemeApplyingEventArgs)

Raises the ThemeApplying event.

OnValueChanged(EventArgs)

Invoked when the Value property is changed.

Events

Name Description
ThemeApplying

Occurs before applying the selected theme. Allows to cancel the theme applying.