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

Implement storage for palette border details.
상속: Storage, IPaletteBorder
파일 보기 프로젝트 열기: ComponentFactory/Krypton 1 사용 예제들

Private Properties

프로퍼티 타입 설명
ShouldSerializeDrawBorders bool
ShouldSerializeImageStyle bool

공개 메소드들

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

Gets the actual first border color.

GetBorderColor2 ( PaletteState state ) : Color

Gets the second border color.

GetBorderColorAlign ( PaletteState state ) : PaletteRectangleAlign

Gets the color alignment style.

GetBorderColorAngle ( PaletteState state ) : float

Gets the color border angle.

GetBorderColorStyle ( PaletteState state ) : PaletteColorStyle

Gets the color drawing style.

GetBorderDraw ( PaletteState state ) : InheritBool

Gets the actual border draw value.

GetBorderDrawBorders ( PaletteState state ) : PaletteDrawBorders

Gets the actual borders to draw value.

GetBorderGraphicsHint ( PaletteState state ) : PaletteGraphicsHint

Gets the actual border graphics hint value.

GetBorderImage ( PaletteState state ) : Image

Gets a border image.

GetBorderImageAlign ( PaletteState state ) : PaletteRectangleAlign

Gets the image alignment style.

GetBorderImageStyle ( PaletteState state ) : PaletteImageStyle

Gets the border image style.

GetBorderRounding ( PaletteState state ) : int

Gets the border rounding.

GetBorderWidth ( PaletteState state ) : int

Gets the border width.

PaletteBorder ( IPaletteBorder inherit, NeedPaintHandler needPaint ) : System

Initialize a new instance of the PaletteBorder class.

PopulateFromBase ( PaletteState state ) : void

Populate values from the base palette.

SetInherit ( IPaletteBorder inherit ) : void

Sets the inheritence parent.

보호된 메소드들

메소드 설명
OnPropertyChanged ( string property ) : void

Raises the PropertyChanged event.

비공개 메소드들

메소드 설명
ShouldSerializeDrawBorders ( ) : bool
ShouldSerializeImageStyle ( ) : bool

메소드 상세

GetBorderColor1() 공개 메소드

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

GetBorderColor2() 공개 메소드

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

GetBorderColorAlign() 공개 메소드

Gets the color alignment style.
public GetBorderColorAlign ( PaletteState state ) : PaletteRectangleAlign
state PaletteState Palette value should be applicable to this state.
리턴 PaletteRectangleAlign

GetBorderColorAngle() 공개 메소드

Gets the color border angle.
public GetBorderColorAngle ( PaletteState state ) : float
state PaletteState Palette value should be applicable to this state.
리턴 float

GetBorderColorStyle() 공개 메소드

Gets the color drawing style.
public GetBorderColorStyle ( PaletteState state ) : PaletteColorStyle
state PaletteState Palette value should be applicable to this state.
리턴 PaletteColorStyle

GetBorderDraw() 공개 메소드

Gets the actual border draw value.
public GetBorderDraw ( PaletteState state ) : InheritBool
state PaletteState Palette value should be applicable to this state.
리턴 InheritBool

GetBorderDrawBorders() 공개 메소드

Gets the actual borders to draw value.
public GetBorderDrawBorders ( PaletteState state ) : PaletteDrawBorders
state PaletteState Palette value should be applicable to this state.
리턴 PaletteDrawBorders

GetBorderGraphicsHint() 공개 메소드

Gets the actual border graphics hint value.
public GetBorderGraphicsHint ( PaletteState state ) : PaletteGraphicsHint
state PaletteState Palette value should be applicable to this state.
리턴 PaletteGraphicsHint

GetBorderImage() 공개 메소드

Gets a border image.
public GetBorderImage ( PaletteState state ) : Image
state PaletteState Palette value should be applicable to this state.
리턴 Image

GetBorderImageAlign() 공개 메소드

Gets the image alignment style.
public GetBorderImageAlign ( PaletteState state ) : PaletteRectangleAlign
state PaletteState Palette value should be applicable to this state.
리턴 PaletteRectangleAlign

GetBorderImageStyle() 공개 메소드

Gets the border image style.
public GetBorderImageStyle ( PaletteState state ) : PaletteImageStyle
state PaletteState Palette value should be applicable to this state.
리턴 PaletteImageStyle

GetBorderRounding() 공개 메소드

Gets the border rounding.
public GetBorderRounding ( PaletteState state ) : int
state PaletteState Palette value should be applicable to this state.
리턴 int

GetBorderWidth() 공개 메소드

Gets the border width.
public GetBorderWidth ( PaletteState state ) : int
state PaletteState Palette value should be applicable to this state.
리턴 int

OnPropertyChanged() 보호된 메소드

Raises the PropertyChanged event.
protected OnPropertyChanged ( string property ) : void
property string Name of the property changed.
리턴 void

PaletteBorder() 공개 메소드

Initialize a new instance of the PaletteBorder class.
public PaletteBorder ( IPaletteBorder inherit, NeedPaintHandler needPaint ) : System
inherit IPaletteBorder Source for inheriting defaulted values.
needPaint NeedPaintHandler Delegate for notifying paint requests.
리턴 System

PopulateFromBase() 공개 메소드

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

SetInherit() 공개 메소드

Sets the inheritence parent.
public SetInherit ( IPaletteBorder inherit ) : void
inherit IPaletteBorder
리턴 void