C# Класс Habanero.ProgrammaticBinding.ControlAdaptors.WinFormsDataGridViewAdapter

This is a Control Adapter for any DataGridView control. It wraps the DataGridView control behind a standard interface. This allows Faces to interact with it as if it is a Habanero Control.
Наследование: WinFormsControlAdapter, IWinFormsDataGridViewAdapter
Показать файл Открыть проект

Private Properties

Свойство Тип Описание
FireBusinessObjectSelected void

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

Метод Описание
BeginEdit ( bool selectAll ) : bool
CancelEdit ( ) : bool
ChangeToPageOfRow ( int rowNum ) : void

When pagination is used, changes the current page to the one containing the given row number. implements IDataGridView

Sort ( IDataGridViewColumn dataGridViewColumn, ListSortDirection direction ) : void
Sort ( string columnName, bool ascending ) : void
WinFormsDataGridViewAdapter ( System.Windows.Forms.DataGridView gridView ) : System
this ( int columnIndex, int rowIndex ) : IDataGridViewCell

Provides an indexer to get or set the cell located at the intersection of the column and row with the specified indexes.

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

Метод Описание
FireBusinessObjectSelected ( object sender, EventArgs eventArgs ) : void

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

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

public BeginEdit ( bool selectAll ) : bool
selectAll bool
Результат bool

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

public CancelEdit ( ) : bool
Результат bool

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

When pagination is used, changes the current page to the one containing the given row number. implements IDataGridView
public ChangeToPageOfRow ( int rowNum ) : void
rowNum int The row that you wish to show the page of. For example, if your grid has /// 30 rows and is set to 20 rows per page, calling ChangeToPageOfRow with an argument /// of 25 will set the page to page 2 since row 25 is on page 2.
Результат void

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

public Sort ( IDataGridViewColumn dataGridViewColumn, ListSortDirection direction ) : void
dataGridViewColumn IDataGridViewColumn
direction ListSortDirection
Результат void

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

public Sort ( string columnName, bool ascending ) : void
columnName string
ascending bool
Результат void

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

public WinFormsDataGridViewAdapter ( System.Windows.Forms.DataGridView gridView ) : System
gridView System.Windows.Forms.DataGridView
Результат System

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

Provides an indexer to get or set the cell located at the intersection of the column and row with the specified indexes.
public this ( int columnIndex, int rowIndex ) : IDataGridViewCell
columnIndex int The index of the column containing the cell.
rowIndex int The index of the row containing the cell
Результат IDataGridViewCell