C# Class Accord.Controls.DataGridBox

Afficher le fichier Open project: accord-net/framework Class Usage Examples

Méthodes publiques

Méthode 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

Méthode 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 méthode

Closes the form.
public Close ( ) : void
Résultat void

Hold() public méthode

Holds the execution until the window has been closed.
public Hold ( ) : void
Résultat void

SetAutoSizeColumns() public méthode

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

SetAutoSizeRows() public méthode

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

SetColumnHeadersVisible() public méthode

Sets the visibility of the column headers.
public SetColumnHeadersVisible ( bool visible ) : DataGridBox
visible bool
Résultat DataGridBox

SetDefaultFontSize() public méthode

Sets the cell font size.
public SetDefaultFontSize ( float emSize ) : DataGridBox
emSize float
Résultat DataGridBox

SetRowHeadersVisible() public méthode

Sets the visibility of the row headers.
public SetRowHeadersVisible ( bool visible ) : DataGridBox
visible bool
Résultat DataGridBox

SetTitle() public méthode

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

Show() public static méthode

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.
Résultat DataGridBox

Show() public static méthode

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

Show() public static méthode

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.
Résultat DataGridBox

WaitForClose() public méthode

Blocks the caller until the form is closed.
public WaitForClose ( ) : void
Résultat void