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

Implement storage for palette border, background and content for data grid view common state.
상속: Storage, IPaletteTriple
파일 보기 프로젝트 열기: ComponentFactory/Krypton 1 사용 예제들

Private Properties

프로퍼티 타입 설명
ShouldSerializeBack bool
ShouldSerializeBorder bool
ShouldSerializeContent bool

공개 메소드들

메소드 설명
PaletteDataGridViewTripleRedirect ( PaletteRedirect redirect, PaletteBackStyle backStyle, PaletteBorderStyle borderStyle, PaletteContentStyle contentStyle, NeedPaintHandler needPaint ) : System

Initialize a new instance of the PaletteDataGridViewTripleRedirect class.

PopulateFromBase ( PaletteState state ) : void

Populate values from the base palette.

SetRedirector ( PaletteRedirect redirect ) : void

Update the redirector with new reference.

SetStyles ( ButtonStyle buttonStyle ) : void

Update the palette styles using a button style.

SetStyles ( HeaderStyle headerStyle ) : void

Update the palette styles using a header style.

SetStyles ( PaletteBackStyle backStyle, PaletteBorderStyle borderStyle, PaletteContentStyle contentStyle ) : void

Update each individual style.

보호된 메소드들

메소드 설명
OnNeedPaint ( object sender, bool needLayout ) : void

Handle a change event from palette source.

비공개 메소드들

메소드 설명
ShouldSerializeBack ( ) : bool
ShouldSerializeBorder ( ) : bool
ShouldSerializeContent ( ) : bool

메소드 상세

OnNeedPaint() 보호된 메소드

Handle a change event from palette source.
protected OnNeedPaint ( object sender, bool needLayout ) : void
sender object Source of the event.
needLayout bool True if a layout is also needed.
리턴 void

PaletteDataGridViewTripleRedirect() 공개 메소드

Initialize a new instance of the PaletteDataGridViewTripleRedirect class.
public PaletteDataGridViewTripleRedirect ( PaletteRedirect redirect, PaletteBackStyle backStyle, PaletteBorderStyle borderStyle, PaletteContentStyle contentStyle, NeedPaintHandler needPaint ) : System
redirect PaletteRedirect Inheritence redirection instance.
backStyle PaletteBackStyle Initial background style.
borderStyle PaletteBorderStyle Initial border style.
contentStyle PaletteContentStyle Initial content style.
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

SetRedirector() 공개 메소드

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

SetStyles() 공개 메소드

Update the palette styles using a button style.
public SetStyles ( ButtonStyle buttonStyle ) : void
buttonStyle ButtonStyle New button style.
리턴 void

SetStyles() 공개 메소드

Update the palette styles using a header style.
public SetStyles ( HeaderStyle headerStyle ) : void
headerStyle HeaderStyle New header style.
리턴 void

SetStyles() 공개 메소드

Update each individual style.
public SetStyles ( PaletteBackStyle backStyle, PaletteBorderStyle borderStyle, PaletteContentStyle contentStyle ) : void
backStyle PaletteBackStyle New background style.
borderStyle PaletteBorderStyle New border style.
contentStyle PaletteContentStyle New content style.
리턴 void