C# 클래스 ComponentFactory.Krypton.Toolkit.PaletteElementColorInheritOverride

Inherit properties from primary source in preference to the backup source.
상속: PaletteElementColorInherit
파일 보기 프로젝트 열기: ComponentFactory/Krypton 1 사용 예제들

공개 메소드들

메소드 설명
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