Search Results for

    Show / Hide Table of Contents

    Class PivotViewController

    The controller for handling the IPivotBase view

    Inheritance
    object
    ModelViewController
    PivotViewController
    Implements
    IModelViewController
    Inherited Members
    ModelViewController.DisplayItem(object)
    ModelViewController.GetCurrentDisplayedItem(object)
    ModelViewController.CloseController()
    ModelViewController.OnTrackedItemChanged(object, string)
    ModelViewController.GetCanWrite(object)
    ModelViewController.ShouldDisplayItem(object)
    ModelViewController.RemoveHandlers(object)
    ModelViewController.AddHandlers(object)
    ModelViewController.RemoveCommand(ViewCommand)
    ModelViewController.RemoveCommands<TOfType>()
    ModelViewController.InsertCommand(ViewCommand, int)
    ModelViewController.InsertCommand(ViewCommand, ViewCommand, ViewCommand)
    ModelViewController.UpdateAllCommands()
    ModelViewController.GetNestedViews()
    ModelViewController.RootController
    ModelViewController.ServiceContext
    ModelViewController.UIContext
    ModelViewController.CanWrite
    ModelViewController.ListenToChanges
    ModelViewController.TrackChanges
    ModelViewController.CheckIsLockedForCanWrite
    ModelViewController.DisplayIfNull
    ModelViewController.CurrentDisplayedItem
    ModelViewController.View
    ModelViewController.Commands
    ModelViewController.SelectedItemForSubViews
    object.GetType()
    object.MemberwiseClone()
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    Namespace: LemonEdge.Client.Core.Views.Controllers
    Assembly: LemonEdge.ClientCore.dll
    Syntax
    public class PivotViewController : ModelViewController, IModelViewController

    Constructors

    PivotViewController(IPivotBase)

    Creates a new pivot controller with the specified instance of a pivot view

    Declaration
    public PivotViewController(IPivotBase view)
    Parameters
    Type Name Description
    IPivotBase view

    The instance of the pivot view in the client application ui

    Properties

    ContextHelpURL

    The help url for the pivot view

    Declaration
    public override string ContextHelpURL { get; }
    Property Value
    Type Description
    string
    Overrides
    ModelViewController.ContextHelpURL

    PivotView

    The IPivotBase view this controller works with

    Declaration
    public IPivotBase PivotView { get; }
    Property Value
    Type Description
    IPivotBase

    Methods

    Clear()

    Clears the pivot view

    Declaration
    public override Task Clear()
    Returns
    Type Description
    Task

    A task indicating the completion of the operation

    Overrides
    ModelViewController.Clear()

    DisplayUI()

    Loads the IPivotProcessor for this view, and executes the query to pass the results to the pivot for displaying

    Declaration
    public override Task DisplayUI()
    Returns
    Type Description
    Task

    A task indicating the completion of the operation

    Overrides
    ModelViewController.DisplayUI()

    InitAsync()

    Processes any PivotViewResultParams against the Param for this view which can indicate how to execute the preconfigured pivot data

    Declaration
    public override Task InitAsync()
    Returns
    Type Description
    Task

    A task indicating the completion of the operation

    Overrides
    ModelViewController.InitAsync()

    InitCommands(IList<ViewCommand>)

    Adds a command to execute the pivot again that will prompt for parameters

    Declaration
    protected override void InitCommands(IList<ViewCommand> commands)
    Parameters
    Type Name Description
    IList<ViewCommand> commands

    The initial set of commands for this view

    Overrides
    ModelViewController.InitCommands(IList<ViewCommand>)

    Redisplay()

    Redisplays this pivot, supressing any popup for new parameters (unless required)

    Declaration
    public override Task Redisplay()
    Returns
    Type Description
    Task

    A task indicating the completion of this operation

    Overrides
    ModelViewController.Redisplay()

    Implements

    IModelViewController

    Extension Methods

    LinqExtensions.AsArray<T>(T)
    LinqExtensions.ToArrayOfOne<T>(T)
    LinqExtensions.ToListOfOne<T>(T)
    MiscExtensions.SetIfNotEqual<T, TP>(T, Expression<Func<T, TP>>, TP)
    WeakReferenceExtensions.WeakReference(object)
    SQLExtensions.ToSQLValue(object, bool)
    ReflectionExtensions.ClearEventInvocations(object, string)
    StringExtensions.ToCSVFormatString(object, Type)
    In this article
    Back to top © LemonEdge Technologies. All rights reserved.