C# Class Accord.Controls.DataGridBox

Exibir arquivo Open project: accord-net/framework Class Usage Examples

Public Methods

Method Description
Close ( ) : void

Closes the form.

Hold ( ) : void

Holds the execution until the window has been closed.

SetAutoSizeColumns ( DataGridViewAutoSizeColumnsMode mode ) : DataGridBox

Sets the auto-size mode for the columns.

SetAutoSizeRows ( DataGridViewAutoSizeRowsMode mode ) : DataGridBox

Sets the auto-size mode for the rows.

SetColumnHeadersVisible ( bool visible ) : DataGridBox

Sets the visibility of the column headers.

SetDefaultFontSize ( float emSize ) : DataGridBox

Sets the cell font size.

SetRowHeadersVisible ( bool visible ) : DataGridBox

Sets the visibility of the row headers.

SetTitle ( string text ) : DataGridBox

Sets the window title of the data grid box.

Show ( Array array, String title = null, object rowNames = null, object colNames = null ) : DataGridBox

Displays a Data Grid View with the specified data.

Show ( DataTable table ) : DataGridBox

Displays a Data Grid View with the specified data.

Show ( object source, string title = null ) : DataGridBox

Displays a Data Grid View with the specified data.

WaitForClose ( ) : void

Blocks the caller until the form is closed.

Private Methods

Method Description
DataGridBox ( ) : System
dataGridView_DataBindingComplete ( object sender, DataGridViewBindingCompleteEventArgs e ) : void
item_CheckedChanged ( object sender, EventArgs e ) : void
show ( object source, string title ) : DataGridBox

Method Details

Close() public method

Closes the form.
public Close ( ) : void
return void

Hold() public method

Holds the execution until the window has been closed.
public Hold ( ) : void
return void

SetAutoSizeColumns() public method

Sets the auto-size mode for the columns.
public SetAutoSizeColumns ( DataGridViewAutoSizeColumnsMode mode ) : DataGridBox
mode DataGridViewAutoSizeColumnsMode
return DataGridBox

SetAutoSizeRows() public method

Sets the auto-size mode for the rows.
public SetAutoSizeRows ( DataGridViewAutoSizeRowsMode mode ) : DataGridBox
mode DataGridViewAutoSizeRowsMode
return DataGridBox

SetColumnHeadersVisible() public method

Sets the visibility of the column headers.
public SetColumnHeadersVisible ( bool visible ) : DataGridBox
visible bool
return DataGridBox

SetDefaultFontSize() public method

Sets the cell font size.
public SetDefaultFontSize ( float emSize ) : DataGridBox
emSize float
return DataGridBox

SetRowHeadersVisible() public method

Sets the visibility of the row headers.
public SetRowHeadersVisible ( bool visible ) : DataGridBox
visible bool
return DataGridBox

SetTitle() public method

Sets the window title of the data grid box.
public SetTitle ( string text ) : DataGridBox
text string The desired title text for the window.
return DataGridBox

Show() public static method

Displays a Data Grid View with the specified data.
public static Show ( Array array, String title = null, object rowNames = null, object colNames = null ) : DataGridBox
array Array The array to be displayed.
title String The title for the data window.
rowNames object A collection of row names to be displayed.
colNames object A collection of column names to be displayed.
return DataGridBox

Show() public static method

Displays a Data Grid View with the specified data.
public static Show ( DataTable table ) : DataGridBox
table DataTable The source table to display.
return DataGridBox

Show() public static method

Displays a Data Grid View with the specified data.
public static Show ( object source, string title = null ) : DataGridBox
source object The source object to display.
title string The title for the data window.
return DataGridBox

WaitForClose() public method

Blocks the caller until the form is closed.
public WaitForClose ( ) : void
return void