C# Класс Peak.TreeGrid.TreeGrid1

Показать файл Открыть проект Примеры использования класса

Защищенные свойства (Protected)

Свойство Тип Описание
realGrid System.Windows.Forms.DataGridView

Private Properties

Свойство Тип Описание
ChangeColor Color
DrawCellContents Rectangle
FillGridColumn void
Fix255 int
HorAlToStrAl StringAlignment
InitializeComponent void
ShouldSerializeGridColor bool
realGrid_CellPainting void

Открытые методы

Метод Описание
TreeGrid1 ( ) : System
realGrid_GotFocus ( object sender, EventArgs e ) : void
realGrid_LostFocus ( object sender, EventArgs e ) : void

Защищенные методы

Метод Описание
Dispose ( bool disposing ) : void

Clean up any resources being used.

DoDrawBackground ( Rectangle r, Graphics g, StyleInfo style ) : Rectangle
DoDrawExpansion ( int column ) : bool
DoExpandCollapse ( int row ) : void
DoGenerateDefaultStyle ( int column, DataGridViewCellStyle cellStyle, DataGridViewElementStates cellState ) : StyleInfo
DoGetCellInfo ( int row, int column ) : CellInfo
DoGetExpanded ( int row, int column ) : bool?
DoGetIdent ( int row, int column ) : int
DoGetStyleInfo ( int row, int column ) : StyleInfo
DoGetVisualInfo ( int row, int column ) : VisualInfo
GenerateGridColumn ( Column column ) : DataGridViewColumn
OnColumnsChanged ( EventArgs e ) : void
OnEnter ( EventArgs e ) : void
OnGotFocus ( EventArgs e ) : void
OnLeave ( EventArgs e ) : void
OnLostFocus ( EventArgs e ) : void
realGrid_CellMouseClick ( object sender, DataGridViewCellMouseEventArgs e ) : void

Приватные методы

Метод Описание
ChangeColor ( Color color, int p ) : Color
DrawCellContents ( Graphics g, CellInfo cell, StyleInfo style, Rectangle r ) : Rectangle
FillGridColumn ( Column column, DataGridViewColumn ret ) : void
Fix255 ( int p ) : int
HorAlToStrAl ( HorizontalAlignment Alignment ) : StringAlignment
InitializeComponent ( ) : void

Required method for Designer support - do not modify the contents of this method with the code editor.

ShouldSerializeGridColor ( ) : bool
realGrid_CellPainting ( object sender, DataGridViewCellPaintingEventArgs e ) : void

Описание методов

Dispose() защищенный Метод

Clean up any resources being used.
protected Dispose ( bool disposing ) : void
disposing bool true if managed resources should be disposed; otherwise, false.
Результат void

DoDrawBackground() защищенный Метод

protected DoDrawBackground ( Rectangle r, Graphics g, StyleInfo style ) : Rectangle
r Rectangle
g Graphics
style StyleInfo
Результат Rectangle

DoDrawExpansion() защищенный Метод

protected DoDrawExpansion ( int column ) : bool
column int
Результат bool

DoExpandCollapse() защищенный Метод

protected DoExpandCollapse ( int row ) : void
row int
Результат void

DoGenerateDefaultStyle() защищенный Метод

protected DoGenerateDefaultStyle ( int column, DataGridViewCellStyle cellStyle, DataGridViewElementStates cellState ) : StyleInfo
column int
cellStyle DataGridViewCellStyle
cellState DataGridViewElementStates
Результат StyleInfo

DoGetCellInfo() защищенный Метод

protected DoGetCellInfo ( int row, int column ) : CellInfo
row int
column int
Результат CellInfo

DoGetExpanded() защищенный Метод

protected DoGetExpanded ( int row, int column ) : bool?
row int
column int
Результат bool?

DoGetIdent() защищенный Метод

protected DoGetIdent ( int row, int column ) : int
row int
column int
Результат int

DoGetStyleInfo() защищенный Метод

protected DoGetStyleInfo ( int row, int column ) : StyleInfo
row int
column int
Результат StyleInfo

DoGetVisualInfo() защищенный Метод

protected DoGetVisualInfo ( int row, int column ) : VisualInfo
row int
column int
Результат VisualInfo

GenerateGridColumn() защищенный Метод

protected GenerateGridColumn ( Column column ) : DataGridViewColumn
column Column
Результат DataGridViewColumn

OnColumnsChanged() защищенный Метод

protected OnColumnsChanged ( EventArgs e ) : void
e EventArgs
Результат void

OnEnter() защищенный Метод

protected OnEnter ( EventArgs e ) : void
e EventArgs
Результат void

OnGotFocus() защищенный Метод

protected OnGotFocus ( EventArgs e ) : void
e EventArgs
Результат void

OnLeave() защищенный Метод

protected OnLeave ( EventArgs e ) : void
e EventArgs
Результат void

OnLostFocus() защищенный Метод

protected OnLostFocus ( EventArgs e ) : void
e EventArgs
Результат void

TreeGrid1() публичный Метод

public TreeGrid1 ( ) : System
Результат System

realGrid_CellMouseClick() защищенный Метод

protected realGrid_CellMouseClick ( object sender, DataGridViewCellMouseEventArgs e ) : void
sender object
e DataGridViewCellMouseEventArgs
Результат void

realGrid_GotFocus() публичный Метод

public realGrid_GotFocus ( object sender, EventArgs e ) : void
sender object
e EventArgs
Результат void

realGrid_LostFocus() публичный Метод

public realGrid_LostFocus ( object sender, EventArgs e ) : void
sender object
e EventArgs
Результат void

Описание свойств

realGrid защищенное свойство

protected System.Windows.Forms.DataGridView realGrid
Результат System.Windows.Forms.DataGridView