[]
        
(Showing Draft Content)

C1.Win.Themes.C1ThemeController.SetTheme

SetTheme Method

SetTheme(object, string)

Sets a theme name on an object.

Declaration
public void SetTheme(object control, string value)
Public Sub SetTheme(control As Object, value As String)
Parameters
Type Name Description
object control

The object on which to set the theme name.

string value

The name of the theme.

Remarks

ArgumentException will be thrown if the control is null or C1Theme can't be applied for the control.

Exceptions
Type Condition
ArgumentException