C# Класс ComponentFactory.Krypton.Toolkit.PaletteElementColorInheritOverride

Inherit properties from primary source in preference to the backup source.
Наследование: PaletteElementColorInherit
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
GetElementColor1 ( PaletteState state ) : Color

Gets the first color for the element.

GetElementColor2 ( PaletteState state ) : Color

Gets the second color for the element.

GetElementColor3 ( PaletteState state ) : Color

Gets the third color for the element.

GetElementColor4 ( PaletteState state ) : Color

Gets the fourth color for the element.

GetElementColor5 ( PaletteState state ) : Color

Gets the fifth color for the element.

PaletteElementColorInheritOverride ( IPaletteElementColor primary, IPaletteElementColor backup ) : System

Initialize a new instance of the PaletteElementColorInheritOverride class.

SetPalettes ( IPaletteElementColor primary, IPaletteElementColor backup ) : void

Update the the primary and backup palettes.

Описание методов

GetElementColor1() публичный Метод

Gets the first color for the element.
public GetElementColor1 ( PaletteState state ) : Color
state PaletteState Palette value should be applicable to this state.
Результат Color

GetElementColor2() публичный Метод

Gets the second color for the element.
public GetElementColor2 ( PaletteState state ) : Color
state PaletteState Palette value should be applicable to this state.
Результат Color

GetElementColor3() публичный Метод

Gets the third color for the element.
public GetElementColor3 ( PaletteState state ) : Color
state PaletteState Palette value should be applicable to this state.
Результат Color

GetElementColor4() публичный Метод

Gets the fourth color for the element.
public GetElementColor4 ( PaletteState state ) : Color
state PaletteState Palette value should be applicable to this state.
Результат Color

GetElementColor5() публичный Метод

Gets the fifth color for the element.
public GetElementColor5 ( PaletteState state ) : Color
state PaletteState Palette value should be applicable to this state.
Результат Color

PaletteElementColorInheritOverride() публичный Метод

Initialize a new instance of the PaletteElementColorInheritOverride class.
public PaletteElementColorInheritOverride ( IPaletteElementColor primary, IPaletteElementColor backup ) : System
primary IPaletteElementColor First choice inheritence.
backup IPaletteElementColor Backup inheritence.
Результат System

SetPalettes() публичный Метод

Update the the primary and backup palettes.
public SetPalettes ( IPaletteElementColor primary, IPaletteElementColor backup ) : void
primary IPaletteElementColor New primary palette.
backup IPaletteElementColor New backup palette.
Результат void