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: 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
bool CanDelete(T item)
Parameters
Type | Name | Description |
---|---|---|
T | item | The item to be removed from the grid |
Returns
Type | Description |
---|---|
System.Boolean | True if the specified tow can be deleted from the grid or not depending on permissions |
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 |
---|---|---|
System.Collections.Generic.IEnumerable<T> | item | The list of rows to be removed from the grid view itself |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task | A task indicating the completion of the operation |