C# Class Habanero.ProgrammaticBinding.ControlAdaptors.WinFormsReadOnlyGridAdapter

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: WinFormsGridBaseAdapter, IWinFormsReadOnlyGridAdapter
Mostra file Open project: Chillisoft/habanero.binding

Public Methods

Method Description
CreateDataSetProvider ( IBusinessObjectCollection col ) : IDataSetProvider

Creates a dataset provider that is applicable to this grid. For example, a readonly grid would return a ReadOnlyDataSetProvider, while an editable grid would return an editable one.

WinFormsReadOnlyGridAdapter ( System.Windows.Forms.DataGridView gridView ) : System

Method Details

CreateDataSetProvider() public method

Creates a dataset provider that is applicable to this grid. For example, a readonly grid would return a ReadOnlyDataSetProvider, while an editable grid would return an editable one.
public CreateDataSetProvider ( IBusinessObjectCollection col ) : IDataSetProvider
col IBusinessObjectCollection The collection to create the datasetprovider for
return IDataSetProvider

WinFormsReadOnlyGridAdapter() public method

public WinFormsReadOnlyGridAdapter ( System.Windows.Forms.DataGridView gridView ) : System
gridView System.Windows.Forms.DataGridView
return System