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

Storage for element color values.
상속: Storage, IPaletteElementColor
파일 보기 프로젝트 열기: ComponentFactory/Krypton 1 사용 예제들

Private Properties

프로퍼티 타입 설명

공개 메소드들

메소드 설명
GetElementColor1 ( PaletteState state ) : Color

Gets the first element color.

GetElementColor2 ( PaletteState state ) : Color

Gets the second element color.

GetElementColor3 ( PaletteState state ) : Color

Gets the third element color.

GetElementColor4 ( PaletteState state ) : Color

Gets the fourth element color.

GetElementColor5 ( PaletteState state ) : Color

Gets the fifth element color.

PaletteElementColor ( IPaletteElementColor inheritElementColor, NeedPaintHandler needPaint ) : System

Initialize a new instance of the PaletteElementColor class.

PopulateFromBase ( PaletteState state ) : void

Populate values from the base palette.

ResetColor1 ( ) : void

Reset the Color1 to the default value.

ResetColor2 ( ) : void

Reset the Color2 to the default value.

ResetColor3 ( ) : void

Reset the Color3 to the default value.

ResetColor4 ( ) : void

Reset the Color4 to the default value.

ResetColor5 ( ) : void

Reset the Color5 to the default value.

SetInherit ( IPaletteElementColor inheritElementColor ) : void

Sets the inheritence parent.

메소드 상세

GetElementColor1() 공개 메소드

Gets the first element color.
public GetElementColor1 ( PaletteState state ) : Color
state PaletteState Palette value should be applicable to this state.
리턴 Color

GetElementColor2() 공개 메소드

Gets the second element color.
public GetElementColor2 ( PaletteState state ) : Color
state PaletteState Palette value should be applicable to this state.
리턴 Color

GetElementColor3() 공개 메소드

Gets the third element color.
public GetElementColor3 ( PaletteState state ) : Color
state PaletteState Palette value should be applicable to this state.
리턴 Color

GetElementColor4() 공개 메소드

Gets the fourth element color.
public GetElementColor4 ( PaletteState state ) : Color
state PaletteState Palette value should be applicable to this state.
리턴 Color

GetElementColor5() 공개 메소드

Gets the fifth element color.
public GetElementColor5 ( PaletteState state ) : Color
state PaletteState Palette value should be applicable to this state.
리턴 Color

PaletteElementColor() 공개 메소드

Initialize a new instance of the PaletteElementColor class.
public PaletteElementColor ( IPaletteElementColor inheritElementColor, NeedPaintHandler needPaint ) : System
inheritElementColor IPaletteElementColor Source for inheriting values.
needPaint NeedPaintHandler Delegate for notifying changes in value.
리턴 System

PopulateFromBase() 공개 메소드

Populate values from the base palette.
public PopulateFromBase ( PaletteState state ) : void
state PaletteState Palette state to use when populating.
리턴 void

ResetColor1() 공개 메소드

Reset the Color1 to the default value.
public ResetColor1 ( ) : void
리턴 void

ResetColor2() 공개 메소드

Reset the Color2 to the default value.
public ResetColor2 ( ) : void
리턴 void

ResetColor3() 공개 메소드

Reset the Color3 to the default value.
public ResetColor3 ( ) : void
리턴 void

ResetColor4() 공개 메소드

Reset the Color4 to the default value.
public ResetColor4 ( ) : void
리턴 void

ResetColor5() 공개 메소드

Reset the Color5 to the default value.
public ResetColor5 ( ) : void
리턴 void

SetInherit() 공개 메소드

Sets the inheritence parent.
public SetInherit ( IPaletteElementColor inheritElementColor ) : void
inheritElementColor IPaletteElementColor
리턴 void