Interface IDeleteGridItemImplementor<T>
An interface implemented by grid views that allow the selection of rows, along with the removal of rows from the grid entirely
Namespace: LemonEdge.Client.Core.Commands.ViewCommands
Assembly: LemonEdge.ClientCore.dll
Syntax
public interface IDeleteGridItemImplementor<T>
  Type Parameters
| Name | Description | 
|---|---|
| T | The type of data being displayed against each row in the grid  | 
      
Properties
Grid
The corrosponding grid view in the client application ui
Declaration
IGridSelector Grid { get; }
  Property Value
| Type | Description | 
|---|---|
| IGridSelector | 
Methods
CanDelete(T)
Indicates if the specified tow can be deleted from the grid or not depending on permissions
Declaration
Task<bool> CanDelete(T item)
  Parameters
| Type | Name | Description | 
|---|---|---|
| T | item | The item to be removed from the grid  | 
      
Returns
| Type | Description | 
|---|---|
| Task<bool> | True if the specified tow can be deleted from the grid or not depending on permissions  | 
      
DeleteCommandIsQuickAccess()
Declaration
bool DeleteCommandIsQuickAccess()
  Returns
| Type | Description | 
|---|---|
| bool | 
RemoveItems(IEnumerable<T>)
Indicates that the specified rows of data should be removed from the grid view itself.
Declaration
Task RemoveItems(IEnumerable<T> item)
  Parameters
| Type | Name | Description | 
|---|---|---|
| IEnumerable<T> | item | The list of rows to be removed from the grid view itself  | 
      
Returns
| Type | Description | 
|---|---|
| Task | A task indicating the completion of the operation  |