C# Class ComponentFactory.Krypton.Toolkit.PaletteTripleToPalette

Redirect all triple requests directly to the redirector with a fixed state.
Inheritance: IPaletteTriple
Show file Open project: ComponentFactory/Krypton Class Usage Examples

Private Properties

Property Type Description

Public Methods

Method Description
PaletteTripleToPalette ( IPalette palette, PaletteBackStyle backStyle, PaletteBorderStyle borderStyle, PaletteContentStyle contentStyle ) : System

Initialize a new instance of the PaletteTripleToPalette class.

SetStyles ( ButtonStyle buttonStyle ) : void

Update the palette styles using a button style.

SetStyles ( PaletteBackStyle backStyle, PaletteBorderStyle borderStyle, PaletteContentStyle contentStyle ) : void

Update each individual style.

Method Details

PaletteTripleToPalette() public method

Initialize a new instance of the PaletteTripleToPalette class.
public PaletteTripleToPalette ( IPalette palette, PaletteBackStyle backStyle, PaletteBorderStyle borderStyle, PaletteContentStyle contentStyle ) : System
palette IPalette Inheritence of values.
backStyle PaletteBackStyle Initial background style.
borderStyle PaletteBorderStyle Initial border style.
contentStyle PaletteContentStyle Initial content style.
return System

SetStyles() public method

Update the palette styles using a button style.
public SetStyles ( ButtonStyle buttonStyle ) : void
buttonStyle ButtonStyle New button style.
return void

SetStyles() public method

Update each individual style.
public SetStyles ( PaletteBackStyle backStyle, PaletteBorderStyle borderStyle, PaletteContentStyle contentStyle ) : void
backStyle PaletteBackStyle New background style.
borderStyle PaletteBorderStyle New border style.
contentStyle PaletteContentStyle New content style.
return void