Interface IOpenGridItemImplementor<T>
An interface implemented by grids to allow rows to be selected, and also a possible relationship to use to open the specified item
Inherited Members
Namespace: LemonEdge.Client.Core.Commands.ViewCommands
Assembly: LemonEdge.ClientCore.dll
Syntax
public interface IOpenGridItemImplementor<T> : IGridSelector, IGridSelectionMode, IHasToggleStatus, IDisposable, IItemSelector
Type Parameters
Name | Description |
---|---|
T | The selected entity type in the grid to open items from |
Properties
OpenFromRelatedColumnName
An optional relationship property on the entity type T
to use to open the item instead of
the item itself
Declaration
string OpenFromRelatedColumnName { get; }
Property Value
Type | Description |
---|---|
string |
SelectedColumnIndex
Gets the selected column index, default to null if not supported by ui
Declaration
short? SelectedColumnIndex { get; }
Property Value
Type | Description |
---|---|
short? |
SelectedItems
The list of selected items in the grid
Declaration
IEnumerable<T> SelectedItems { get; set; }
Property Value
Type | Description |
---|---|
IEnumerable<T> |
Methods
SelectItems(IEnumerable<T>)
Forces the grid to select the specified items
Declaration
void SelectItems(IEnumerable<T> items)
Parameters
Type | Name | Description |
---|---|---|
IEnumerable<T> | items | The items to be automatically selected within the grid |