C# Class 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.
Inheritance: WinFormsControlAdapter, IWinFormsDataGridViewAdapter
Afficher le fichier Open project: Chillisoft/habanero.binding

Private Properties

Свойство Type Description
FireBusinessObjectSelected void

Méthodes publiques

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

Private Methods

Méthode Description
FireBusinessObjectSelected ( object sender, EventArgs eventArgs ) : void

Method Details

BeginEdit() public méthode

public BeginEdit ( bool selectAll ) : bool
selectAll bool
Résultat bool

CancelEdit() public méthode

public CancelEdit ( ) : bool
Résultat bool

ChangeToPageOfRow() public méthode

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

Sort() public méthode

public Sort ( IDataGridViewColumn dataGridViewColumn, ListSortDirection direction ) : void
dataGridViewColumn IDataGridViewColumn
direction ListSortDirection
Résultat void

Sort() public méthode

public Sort ( string columnName, bool ascending ) : void
columnName string
ascending bool
Résultat void

WinFormsDataGridViewAdapter() public méthode

public WinFormsDataGridViewAdapter ( System.Windows.Forms.DataGridView gridView ) : System
gridView System.Windows.Forms.DataGridView
Résultat System

this() public méthode

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
Résultat IDataGridViewCell