C# Class ComponentFactory.Krypton.Toolkit.PaletteDataGridViewRedirect

Implement storage and redirection for a KryptonDataGridView state.
Inheritance: Storage
Afficher le fichier Open project: ComponentFactory/Krypton Class Usage Examples

Private Properties

Свойство Type Description
ShouldSerializeBackground bool
ShouldSerializeDataCell bool
ShouldSerializeHeaderColumn bool
ShouldSerializeHeaderRow bool

Méthodes publiques

Méthode Description
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.

Méthodes protégées

Méthode Description
OnNeedPaint ( object sender, bool needLayout ) : void

Handle a change event from palette source.

Private Methods

Méthode Description
ShouldSerializeBackground ( ) : bool
ShouldSerializeDataCell ( ) : bool
ShouldSerializeHeaderColumn ( ) : bool
ShouldSerializeHeaderRow ( ) : bool

Method Details

OnNeedPaint() protected méthode

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.
Résultat void

PaletteDataGridViewRedirect() public méthode

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.
Résultat System

SetGridStyles() public méthode

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.
Résultat void

SetRedirector() public méthode

Update the redirector with new reference.
public SetRedirector ( PaletteRedirect redirect ) : void
redirect PaletteRedirect Target redirector.
Résultat void