C# Класс Accord.Controls.DataGridBox

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

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

Метод Описание
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.

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

Метод Описание
DataGridBox ( ) : System
dataGridView_DataBindingComplete ( object sender, DataGridViewBindingCompleteEventArgs e ) : void
item_CheckedChanged ( object sender, EventArgs e ) : void
show ( object source, string title ) : DataGridBox

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

Close() публичный метод

Closes the form.
public Close ( ) : void
Результат void

Hold() публичный метод

Holds the execution until the window has been closed.
public Hold ( ) : void
Результат void

SetAutoSizeColumns() публичный метод

Sets the auto-size mode for the columns.
public SetAutoSizeColumns ( DataGridViewAutoSizeColumnsMode mode ) : DataGridBox
mode DataGridViewAutoSizeColumnsMode
Результат DataGridBox

SetAutoSizeRows() публичный метод

Sets the auto-size mode for the rows.
public SetAutoSizeRows ( DataGridViewAutoSizeRowsMode mode ) : DataGridBox
mode DataGridViewAutoSizeRowsMode
Результат DataGridBox

SetColumnHeadersVisible() публичный метод

Sets the visibility of the column headers.
public SetColumnHeadersVisible ( bool visible ) : DataGridBox
visible bool
Результат DataGridBox

SetDefaultFontSize() публичный метод

Sets the cell font size.
public SetDefaultFontSize ( float emSize ) : DataGridBox
emSize float
Результат DataGridBox

SetRowHeadersVisible() публичный метод

Sets the visibility of the row headers.
public SetRowHeadersVisible ( bool visible ) : DataGridBox
visible bool
Результат DataGridBox

SetTitle() публичный метод

Sets the window title of the data grid box.
public SetTitle ( string text ) : DataGridBox
text string The desired title text for the window.
Результат DataGridBox

Show() публичный статический метод

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.
Результат DataGridBox

Show() публичный статический метод

Displays a Data Grid View with the specified data.
public static Show ( DataTable table ) : DataGridBox
table DataTable The source table to display.
Результат DataGridBox

Show() публичный статический метод

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.
Результат DataGridBox

WaitForClose() публичный метод

Blocks the caller until the form is closed.
public WaitForClose ( ) : void
Результат void