C# Класс ComponentFactory.Krypton.Toolkit.PaletteDataGridViewRedirect

Implement storage and redirection for a KryptonDataGridView state.
Наследование: Storage
Показать файл Открыть проект Примеры использования класса

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