Class SearchGrid<T>
A custom view command of type Search
Inheritance
System.Object
SearchGrid<T>
Implements
System.IDisposable
System.Windows.Input.ICommand
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: LemonEdge.Client.Core.Commands.ViewCommands
Assembly: ClientCore.dll
Syntax
public class SearchGrid<T> : ViewCustomCommand, IHasChildren<EPCommandWithDescriptor>, IHasChildren, IDisposable, IEPCommandWithDescriptor, IEPCommand, ICommand, ICommandDescriptor
Type Parameters
Name | Description |
---|---|
T | The entity type that is displayed in the grid view this command is for |
Constructors
SearchGrid(BaseGridControllerAny<T>)
Creates a new SearchGrid command
Declaration
public SearchGrid(BaseGridControllerAny<T> gridController)
Parameters
Type | Name | Description |
---|---|---|
BaseGridControllerAny<T> | gridController | The grid controller this command executes against to search for data within it |
Properties
Description
Declaration
public override string Description { get; }
Property Value
Type | Description |
---|---|
System.String |
Overrides
IconID
Declaration
public override Guid IconID { get; }
Property Value
Type | Description |
---|---|
System.Guid |
Overrides
Title
Declaration
public override string Title { get; }
Property Value
Type | Description |
---|---|
System.String |
Overrides
ToolTip
Declaration
public override string ToolTip { get; }
Property Value
Type | Description |
---|---|
System.String |
Overrides
ViewController
The grid controller this command operates against
Declaration
public override ModelViewController ViewController { get; }
Property Value
Type | Description |
---|---|
ModelViewController |
Overrides
Methods
InternalCanExecute(Object)
Declaration
public override bool InternalCanExecute(object parameter)
Parameters
Type | Name | Description |
---|---|---|
System.Object | parameter |
Returns
Type | Description |
---|---|
System.Boolean |
Overrides
InternalExecuteAsync(Object)
Does not actually execute any command, as this has to be specifically executed in the client application through a custom approach depending on the UI itself
Declaration
public override Task InternalExecuteAsync(object parameter)
Parameters
Type | Name | Description |
---|---|---|
System.Object | parameter | The command parameter |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task | Returns immediately |
Overrides
Implements
System.IDisposable
System.Windows.Input.ICommand