Class ExportQueryController
The controller for handling and displaying the ExportQueryResult parameters in a custom popup window IExportQuery
Inheritance
System.Object
ExportQueryController
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.Support
Assembly: ClientCore.dll
Syntax
public class ExportQueryController : PopupWindowController<ExportQueryResult>, IPopupWindowController, IController
Remarks
Called using:
var (WindowExistsInUI, OkClicked, Result) = await ModelController.Instance.DisplayPopup<Support.IExportQuery, Support.ExportQueryResult>(
_controller == null ? _host.Window : _controller.View.Displayer.Window,
w => w.Init(_host ?? _controller?.View?.Displayer, _forType, "Export Grid To Excel", Groups, Columns, asOfDate, AlowAsOfDateInExcelExport, canvasID, useTotalCount, queryFilter), //init view with header and current visible columns
w => new Support.ExportQueryController(w)
);
if (!WindowExistsInUI || OkClicked) //user clicked ok, or window doesn't exist so just continue anyway
{
//do something
}
Constructors
ExportQueryController(IExportQuery)
Creates a new controller for the specified export query window
Declaration
public ExportQueryController(IExportQuery window)
Parameters
Type | Name | Description |
---|---|---|
IExportQuery | window | The instance of the window to be displayed in the client application |