C# Class Peak.TreeGrid.TreeGrid1

ファイルを表示 Open project: rsdn/janus Class Usage Examples

Protected Properties

Property Type Description
realGrid System.Windows.Forms.DataGridView

Private Properties

Property Type Description
ChangeColor Color
DrawCellContents Rectangle
FillGridColumn void
Fix255 int
HorAlToStrAl StringAlignment
InitializeComponent void
ShouldSerializeGridColor bool
realGrid_CellPainting void

Public Methods

Method Description
TreeGrid1 ( ) : System
realGrid_GotFocus ( object sender, EventArgs e ) : void
realGrid_LostFocus ( object sender, EventArgs e ) : void

Protected Methods

Method Description
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

Private Methods

Method Description
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

Method Details

Dispose() protected method

Clean up any resources being used.
protected Dispose ( bool disposing ) : void
disposing bool true if managed resources should be disposed; otherwise, false.
return void

DoDrawBackground() protected method

protected DoDrawBackground ( Rectangle r, Graphics g, StyleInfo style ) : Rectangle
r Rectangle
g Graphics
style StyleInfo
return Rectangle

DoDrawExpansion() protected method

protected DoDrawExpansion ( int column ) : bool
column int
return bool

DoExpandCollapse() protected method

protected DoExpandCollapse ( int row ) : void
row int
return void

DoGenerateDefaultStyle() protected method

protected DoGenerateDefaultStyle ( int column, DataGridViewCellStyle cellStyle, DataGridViewElementStates cellState ) : StyleInfo
column int
cellStyle DataGridViewCellStyle
cellState DataGridViewElementStates
return StyleInfo

DoGetCellInfo() protected method

protected DoGetCellInfo ( int row, int column ) : CellInfo
row int
column int
return CellInfo

DoGetExpanded() protected method

protected DoGetExpanded ( int row, int column ) : bool?
row int
column int
return bool?

DoGetIdent() protected method

protected DoGetIdent ( int row, int column ) : int
row int
column int
return int

DoGetStyleInfo() protected method

protected DoGetStyleInfo ( int row, int column ) : StyleInfo
row int
column int
return StyleInfo

DoGetVisualInfo() protected method

protected DoGetVisualInfo ( int row, int column ) : VisualInfo
row int
column int
return VisualInfo

GenerateGridColumn() protected method

protected GenerateGridColumn ( Column column ) : DataGridViewColumn
column Column
return DataGridViewColumn

OnColumnsChanged() protected method

protected OnColumnsChanged ( EventArgs e ) : void
e EventArgs
return void

OnEnter() protected method

protected OnEnter ( EventArgs e ) : void
e EventArgs
return void

OnGotFocus() protected method

protected OnGotFocus ( EventArgs e ) : void
e EventArgs
return void

OnLeave() protected method

protected OnLeave ( EventArgs e ) : void
e EventArgs
return void

OnLostFocus() protected method

protected OnLostFocus ( EventArgs e ) : void
e EventArgs
return void

TreeGrid1() public method

public TreeGrid1 ( ) : System
return System

realGrid_CellMouseClick() protected method

protected realGrid_CellMouseClick ( object sender, DataGridViewCellMouseEventArgs e ) : void
sender object
e DataGridViewCellMouseEventArgs
return void

realGrid_GotFocus() public method

public realGrid_GotFocus ( object sender, EventArgs e ) : void
sender object
e EventArgs
return void

realGrid_LostFocus() public method

public realGrid_LostFocus ( object sender, EventArgs e ) : void
sender object
e EventArgs
return void

Property Details

realGrid protected_oe property

protected System.Windows.Forms.DataGridView realGrid
return System.Windows.Forms.DataGridView