Class ExportQueryController
The controller for handling and displaying the ExportQueryResult parameters in a custom popup window IExportQuery
Inheritance
ExportQueryController
Inherited Members
Namespace: LemonEdge.Client.Core.Support
Assembly: LemonEdge.ClientCore.dll
Syntax
public class ExportQueryController : PopupWindowController<ExportQueryResult>, IPopupWindowController<ExportQueryResult>, IPopupWindowController, IController
Remarks
Called using:
var (WindowExistsInUI, OkClicked, Result) = await RootController.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, IRootController)
Creates a new controller for the specified export query window
Declaration
public ExportQueryController(IExportQuery window, IRootController rootController)
Parameters
Type | Name | Description |
---|---|---|
IExportQuery | window | The instance of the window to be displayed in the client application |
IRootController | rootController |