C# Class ImageGlass.Theme.RenderTheme

Show file Open project: d2phap/ImageGlass Class Usage Examples

Public Methods

Method Description
ApplyTheme ( System control ) : int

Apply system theme to control

ApplyTheme ( System control, string theme ) : int

Apply system theme to control (customize)

ClearTheme ( System control ) : int

Remove system theme

Private Methods

Method Description
SetWindowTheme ( [ hwnd, [ pszSubAppName, [ pszSubIdList ) : int

Method Details

ApplyTheme() public method

Apply system theme to control
public ApplyTheme ( System control ) : int
control System
return int

ApplyTheme() public method

Apply system theme to control (customize)
public ApplyTheme ( System control, string theme ) : int
control System
theme string
return int

ClearTheme() public method

Remove system theme
public ClearTheme ( System control ) : int
control System
return int