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

Implement storage and redirection for a KryptonDataGridView state.
상속: Storage
파일 보기 프로젝트 열기: ComponentFactory/Krypton 1 사용 예제들

Private Properties

프로퍼티 타입 설명
ShouldSerializeBackground bool
ShouldSerializeDataCell bool
ShouldSerializeHeaderColumn bool
ShouldSerializeHeaderRow bool

공개 메소드들

메소드 설명
PaletteDataGridViewRedirect ( PaletteRedirect redirect, NeedPaintHandler needPaint ) : System

Initialize a new instance of the PaletteDataGridViewRedirect class.

SetGridStyles ( GridStyle headerColumn, GridStyle headerRow, GridStyle dataCell ) : void

Update the styles of the headers and data cells.

SetRedirector ( PaletteRedirect redirect ) : void

Update the redirector with new reference.

보호된 메소드들

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

Handle a change event from palette source.

비공개 메소드들

메소드 설명
ShouldSerializeBackground ( ) : bool
ShouldSerializeDataCell ( ) : bool
ShouldSerializeHeaderColumn ( ) : bool
ShouldSerializeHeaderRow ( ) : 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

PaletteDataGridViewRedirect() 공개 메소드

Initialize a new instance of the PaletteDataGridViewRedirect class.
public PaletteDataGridViewRedirect ( PaletteRedirect redirect, NeedPaintHandler needPaint ) : System
redirect PaletteRedirect Source for inheriting values.
needPaint NeedPaintHandler Delegate for notifying paint requests.
리턴 System

SetGridStyles() 공개 메소드

Update the styles of the headers and data cells.
public SetGridStyles ( GridStyle headerColumn, GridStyle headerRow, GridStyle dataCell ) : void
headerColumn GridStyle Style for the column headers.
headerRow GridStyle Style for the row headers.
dataCell GridStyle Style for the data cells.
리턴 void

SetRedirector() 공개 메소드

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