Search Results for

    Show / Hide Table of Contents

    Class PivotViewController

    The controller for handling the IPivotBase view

    Inheritance
    System.Object
    ModelViewController
    PivotViewController
    Implements
    IModelViewController
    Inherited Members
    ModelViewController.CurrentDisplayedItem
    ModelViewController.CanWrite
    ModelViewController.TrackItemChanges
    ModelViewController.CheckIsLockedForCanWrite
    ModelViewController.View
    ModelViewController.OnTrackedItemChanged(Object, String)
    ModelViewController.DisplayItem(Object)
    ModelViewController.ShouldDisplayItem(Object)
    ModelViewController.DisplayIfNull
    ModelViewController.RemoveHandlers(Object)
    ModelViewController.AddHandlers(Object)
    ModelViewController.CloseController()
    ModelViewController.RemoveCommand(ViewCommand)
    ModelViewController.RemoveCommands<OFType>()
    ModelViewController.InsertCommand(ViewCommand, Int32)
    ModelViewController.InsertCommand(ViewCommand, ViewCommand, ViewCommand)
    ModelViewController.Commands
    ModelViewController.UpdateAllCommands()
    ModelViewController.SelectedItemForSubViews
    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.Views.Core
    Assembly: 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
    System.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
    System.Threading.Tasks.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
    System.Threading.Tasks.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
    System.Threading.Tasks.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
    System.Collections.Generic.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
    System.Threading.Tasks.Task

    A task indicating the completion of this operation

    Overrides
    ModelViewController.Redisplay()

    Implements

    IModelViewController

    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.