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

Redirect storage for a header state.
상속: PaletteTripleMetricRedirect
파일 보기 프로젝트 열기: ComponentFactory/Krypton 1 사용 예제들

Private Properties

프로퍼티 타입 설명

공개 메소드들

메소드 설명
GetMetricBool ( PaletteState state, PaletteMetricBool metric ) : InheritBool

Gets a boolean metric value.

GetMetricInt ( PaletteState state, PaletteMetricInt metric ) : int

Gets an integer metric value.

GetMetricPadding ( PaletteState state, PaletteMetricPadding metric ) : Padding

Gets a padding metric value.

PaletteHeaderRedirect ( PaletteRedirect redirect, PaletteBackStyle backStyle, PaletteBorderStyle borderStyle, PaletteContentStyle contentStyle, NeedPaintHandler needPaint ) : System

Initialize a new instance of the PaletteHeaderRedirect class.

ResetButtonEdgeInset ( ) : void

Reset the ButtonEdgeInset to the default value.

ResetButtonPadding ( ) : void

Reset the ButtonPadding to the default value.

SetRedirector ( PaletteRedirect redirect ) : void

Update the redirector with new reference.

메소드 상세

GetMetricBool() 공개 메소드

Gets a boolean metric value.
public GetMetricBool ( PaletteState state, PaletteMetricBool metric ) : InheritBool
state PaletteState Palette value should be applicable to this state.
metric PaletteMetricBool Requested metric.
리턴 InheritBool

GetMetricInt() 공개 메소드

Gets an integer metric value.
public GetMetricInt ( PaletteState state, PaletteMetricInt metric ) : int
state PaletteState Palette value should be applicable to this state.
metric PaletteMetricInt Requested metric.
리턴 int

GetMetricPadding() 공개 메소드

Gets a padding metric value.
public GetMetricPadding ( PaletteState state, PaletteMetricPadding metric ) : Padding
state PaletteState Palette value should be applicable to this state.
metric PaletteMetricPadding Requested metric.
리턴 Padding

PaletteHeaderRedirect() 공개 메소드

Initialize a new instance of the PaletteHeaderRedirect class.
public PaletteHeaderRedirect ( PaletteRedirect redirect, PaletteBackStyle backStyle, PaletteBorderStyle borderStyle, PaletteContentStyle contentStyle, NeedPaintHandler needPaint ) : System
redirect PaletteRedirect Inheritence redirection instance.
backStyle PaletteBackStyle Style for the background.
borderStyle PaletteBorderStyle Style for the border.
contentStyle PaletteContentStyle Style for the content.
needPaint NeedPaintHandler Delegate for notifying paint requests.
리턴 System

ResetButtonEdgeInset() 공개 메소드

Reset the ButtonEdgeInset to the default value.
public ResetButtonEdgeInset ( ) : void
리턴 void

ResetButtonPadding() 공개 메소드

Reset the ButtonPadding to the default value.
public ResetButtonPadding ( ) : void
리턴 void

SetRedirector() 공개 메소드

Update the redirector with new reference.
public SetRedirector ( PaletteRedirect redirect ) : void
redirect PaletteRedirect Target redirector.
리턴 void