Search Results for

    Show / Hide Table of Contents

    Class ExportQueryController

    The controller for handling and displaying the ExportQueryResult parameters in a custom popup window IExportQuery

    Inheritance
    System.Object
    PopupWindowController
    PopupWindowController<ExportQueryResult>
    ExportQueryController
    Implements
    IPopupWindowController
    IController
    Inherited Members
    PopupWindowController<ExportQueryResult>.InitCommands(IList<ViewCommand>)
    PopupWindowController<ExportQueryResult>.Display()
    PopupWindowController<ExportQueryResult>.OwningWindow
    PopupWindowController<ExportQueryResult>.Commands
    PopupWindowController<ExportQueryResult>.OnOk(Object)
    PopupWindowController<ExportQueryResult>.OnOk(ExportQueryResult)
    PopupWindowController<ExportQueryResult>.Validate(ExportQueryResult)
    PopupWindowController<ExportQueryResult>.OnCancel()
    PopupWindowController<ExportQueryResult>.GetResult
    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

    Implements

    IPopupWindowController
    IController

    Extension Methods

    MiscExtensions.SetIfNotEqual<T, P>(T, Expression<Func<T, P>>, P)
    ReflectionExtensions.ClearEventInvocations(Object, String)
    StringExtensions.ToCSVFormatString(Object, Type)
    SQLExtensions.ToSQLValue(Object, Boolean)
    In This Article
    Back to top © LemonTree Software Ltd. All rights reserved.