C# Класс Habanero.Faces.VWG.ReadOnlyGridVWG

Provides a grid on which a business object collection can be listed but not edited. If you would like more functionality, including the ability to add, edit and delete the objects, use IReadOnlyGridControl instead.
Наследование: GridBaseVWG, IReadOnlyGrid
Показать файл Открыть проект Примеры использования класса

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

Метод Описание
CheckUserWantsToDelete ( ) : bool

Displays a message box to the user to check if they want to proceed with deleting the selected rows.

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.

ReadOnlyGridVWG ( ) : System

Constructs the ReadOnlyGridVWG

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

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

Displays a message box to the user to check if they want to proceed with deleting the selected rows.
public CheckUserWantsToDelete ( ) : bool
Результат bool

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

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

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

Constructs the ReadOnlyGridVWG
public ReadOnlyGridVWG ( ) : System
Результат System