C# Class ComponentFactory.Krypton.Toolkit.PaletteDataGridViewCells

Implement storage for a KryptonDataGridView tracking/pressed/selected states.
Inheritance: Storage
Mostra file Open project: ComponentFactory/Krypton Class Usage Examples

Private Properties

Property Type Description
ShouldSerializeDataCell bool
ShouldSerializeHeaderColumn bool
ShouldSerializeHeaderRow bool

Public Methods

Method Description
PaletteDataGridViewCells ( PaletteDataGridViewRedirect inherit, NeedPaintHandler needPaint ) : System

Initialize a new instance of the PaletteDataGridViewCells class.

PopulateFromBase ( KryptonPaletteCommon common, PaletteState state, GridStyle gridStyle ) : void

Populate values from the base palette.

SetInherit ( PaletteDataGridViewRedirect inherit ) : void

Sets the inheritence parent.

Protected Methods

Method Description
OnNeedPaint ( object sender, bool needLayout ) : void

Handle a change event from palette source.

Private Methods

Method Description
ShouldSerializeDataCell ( ) : bool
ShouldSerializeHeaderColumn ( ) : bool
ShouldSerializeHeaderRow ( ) : bool

Method Details

OnNeedPaint() protected method

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.
return void

PaletteDataGridViewCells() public method

Initialize a new instance of the PaletteDataGridViewCells class.
public PaletteDataGridViewCells ( PaletteDataGridViewRedirect inherit, NeedPaintHandler needPaint ) : System
inherit PaletteDataGridViewRedirect Source for inheriting values.
needPaint NeedPaintHandler Delegate for notifying paint requests.
return System

PopulateFromBase() public method

Populate values from the base palette.
public PopulateFromBase ( KryptonPaletteCommon common, PaletteState state, GridStyle gridStyle ) : void
common KryptonPaletteCommon Reference to common settings.
state PaletteState The palette state to populate with.
gridStyle GridStyle Grid style to use for populating.
return void

SetInherit() public method

Sets the inheritence parent.
public SetInherit ( PaletteDataGridViewRedirect inherit ) : void
inherit PaletteDataGridViewRedirect
return void