Search Results for

    Show / Hide Table of Contents

    Class GroupingsController

    Inheritance
    object
    ModelViewController
    BaseTreeViewAnyController<IGrouping>
    BaseTreeViewController<IGrouping>
    GroupingsController
    Implements
    ICollectionExportable
    ISearchController
    IModelViewController
    Inherited Members
    BaseTreeViewController<IGrouping>.InitCommands(IList<ViewCommand>)
    BaseTreeViewController<IGrouping>.GetQuery()
    BaseTreeViewController<IGrouping>.AlterQuery(QueryableExecuter<IGrouping>)
    BaseTreeViewController<IGrouping>.GetIDValue(IGrouping)
    BaseTreeViewController<IGrouping>.CreateNewItem()
    BaseTreeViewController<IGrouping>.OnItemMovedUpOrDown(IGrouping, bool)
    BaseTreeViewController<IGrouping>.InsertAndSelectNewItem(IGrouping)
    BaseTreeViewController<IGrouping>.LoadItems()
    BaseTreeViewController<IGrouping>.GetQueryForExcelResults()
    BaseTreeViewController<IGrouping>.CommandNewAllow
    BaseTreeViewController<IGrouping>.CommandDeleteAllow
    BaseTreeViewController<IGrouping>.CommandNewType
    BaseTreeViewController<IGrouping>.CommandNew
    BaseTreeViewController<IGrouping>.CommandCopy
    BaseTreeViewController<IGrouping>.CommandOpen
    BaseTreeViewController<IGrouping>.CommandDelete
    BaseTreeViewController<IGrouping>.AutoPromptForLabelOnNew
    BaseTreeViewAnyController<IGrouping>._descriptor
    BaseTreeViewAnyController<IGrouping>._items
    BaseTreeViewAnyController<IGrouping>._rootNodes
    BaseTreeViewAnyController<IGrouping>.HasLazyChildrenToLoad(TreeNode<IGrouping>)
    BaseTreeViewAnyController<IGrouping>.CanMoveToRoot(IGrouping)
    BaseTreeViewAnyController<IGrouping>.CanMoveAsChildOfItem(IGrouping, IGrouping)
    BaseTreeViewAnyController<IGrouping>.GetTreeController(IBaseTreeView<IGrouping>)
    BaseTreeViewAnyController<IGrouping>.Clear()
    BaseTreeViewAnyController<IGrouping>.CloseController()
    BaseTreeViewAnyController<IGrouping>.DisplayUI()
    BaseTreeViewAnyController<IGrouping>.LazyLoadChildren(TreeNode<IGrouping>)
    BaseTreeViewAnyController<IGrouping>.WrapAsTreeNodes(IEnumerable<IGrouping>)
    BaseTreeViewAnyController<IGrouping>.CreateWrapper(IGrouping, TreeNode<IGrouping>)
    BaseTreeViewAnyController<IGrouping>.OnSelectionChanged(object, EventArgs)
    BaseTreeViewAnyController<IGrouping>.PromptForItemLabel(IGrouping)
    BaseTreeViewAnyController<IGrouping>.OpenItem(IGrouping)
    BaseTreeViewAnyController<IGrouping>.OnDeleteItem(IGrouping)
    BaseTreeViewAnyController<IGrouping>.WrapAsTreeNodes(TreeNode<IGrouping>, IEnumerable<IGrouping>)
    BaseTreeViewAnyController<IGrouping>.ToggleSearch(bool)
    BaseTreeViewAnyController<IGrouping>.SetSearch(string, IEnumerable<string>)
    BaseTreeViewAnyController<IGrouping>.GetExportableColumnInfo(IEnumerable<ColumnDescriptor>)
    BaseTreeViewAnyController<IGrouping>.GetVisibleColumnNames()
    BaseTreeViewAnyController<IGrouping>.ColumnGroups()
    BaseTreeViewAnyController<IGrouping>.IgnoreEvents
    BaseTreeViewAnyController<IGrouping>.TreeView
    BaseTreeViewAnyController<IGrouping>.Descriptor
    BaseTreeViewAnyController<IGrouping>.Roots
    BaseTreeViewAnyController<IGrouping>.SelectedItemForSubViews
    BaseTreeViewAnyController<IGrouping>.GetDefaultOrderPropertyName
    BaseTreeViewAnyController<IGrouping>.GetDefaultOrder
    BaseTreeViewAnyController<IGrouping>.GetTreeNodeColorPropertyName
    BaseTreeViewAnyController<IGrouping>.GetTreeNodeIconPropertyName
    BaseTreeViewAnyController<IGrouping>.GetTreeNodeTooltipPropertyName
    BaseTreeViewAnyController<IGrouping>.LoadedItems
    BaseTreeViewAnyController<IGrouping>.CommandNewCanCreate
    BaseTreeViewAnyController<IGrouping>.CommandDeleteCanDelete
    BaseTreeViewAnyController<IGrouping>.CommandRenameAllow
    BaseTreeViewAnyController<IGrouping>.RenameHasOtherProperties
    BaseTreeViewAnyController<IGrouping>.CommandAllowSearch
    BaseTreeViewAnyController<IGrouping>.OpenFromRelatedColumnName
    BaseTreeViewAnyController<IGrouping>.CommandNewAllowMultipleRoots
    BaseTreeViewAnyController<IGrouping>.AutoExpandAll
    BaseTreeViewAnyController<IGrouping>.ForceSubViewUpdateOnChangeEvenIfSame
    BaseTreeViewAnyController<IGrouping>.SearchColumns
    BaseTreeViewAnyController<IGrouping>.SearchGroups
    BaseTreeViewAnyController<IGrouping>.SearchElements
    BaseTreeViewAnyController<IGrouping>.CollectionType
    BaseTreeViewAnyController<IGrouping>.OnlyExportGrid
    BaseTreeViewAnyController<IGrouping>.OnlyExportFromQuery
    BaseTreeViewAnyController<IGrouping>.PagerRequired
    BaseTreeViewAnyController<IGrouping>.CurrentGridItems
    ModelViewController.InitAsync()
    ModelViewController.DisplayItem(object)
    ModelViewController.GetCurrentDisplayedItem(object)
    ModelViewController.Redisplay()
    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.TrackChanges
    ModelViewController.CheckIsLockedForCanWrite
    ModelViewController.DisplayIfNull
    ModelViewController.CurrentDisplayedItem
    ModelViewController.View
    ModelViewController.Commands
    ModelViewController.ContextHelpURL
    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.ClientEntities.dll
    Syntax
    public class GroupingsController : BaseTreeViewController<IGrouping>, ICollectionExportable, ISearchController, IModelViewController

    Constructors

    GroupingsController(IBaseTreeView<IGrouping>)

    Declaration
    public GroupingsController(IBaseTreeView<IGrouping> view)
    Parameters
    Type Name Description
    IBaseTreeView<IGrouping> view

    Properties

    AllowXMLImportExport

    Declaration
    public override bool AllowXMLImportExport { get; }
    Property Value
    Type Description
    bool
    Overrides
    LemonEdge.Client.Core.Views.Core.BaseTreeViewAnyController<LemonEdge.API.Entities.Data.IGrouping>.AllowXMLImportExport

    CommandCopyAllow

    Indicates if copying should be allowed in this view

    Declaration
    protected override bool CommandCopyAllow { get; }
    Property Value
    Type Description
    bool
    Overrides
    LemonEdge.Client.Core.Views.Core.BaseTreeViewAnyController<LemonEdge.API.Entities.Data.IGrouping>.CommandCopyAllow

    CommandOpenAllow

    Indicates if the view should show the Open command - default is false

    Declaration
    public override bool CommandOpenAllow { get; }
    Property Value
    Type Description
    bool
    Overrides
    LemonEdge.Client.Core.Views.Core.BaseTreeViewAnyController<LemonEdge.API.Entities.Data.IGrouping>.CommandOpenAllow

    GetParentIDPropertyName

    Returns the property on the entity type IGrouping that holds the relationship to the parent instance of type IGrouping too

    Declaration
    protected override string GetParentIDPropertyName { get; }
    Property Value
    Type Description
    string
    Overrides
    LemonEdge.Client.Core.Views.Core.BaseTreeViewAnyController<LemonEdge.API.Entities.Data.IGrouping>.GetParentIDPropertyName

    GetTreeNodeLabelPropertyName

    Returns the property on the entity type IGrouping that holds the string that should be shown as the label on the tree node for every item in the tree view control itself

    Declaration
    public override string GetTreeNodeLabelPropertyName { get; }
    Property Value
    Type Description
    string
    Overrides
    LemonEdge.Client.Core.Views.Core.BaseTreeViewAnyController<LemonEdge.API.Entities.Data.IGrouping>.GetTreeNodeLabelPropertyName

    ListenToChanges

    Indicates that this controller should be notified of changes made to any tracked item in this context via the OnTrackedItemChanged(object, string)

    Declaration
    public override bool ListenToChanges { get; }
    Property Value
    Type Description
    bool
    Overrides
    ModelViewController.ListenToChanges

    Methods

    CreateCopiedNode(TreeNode<IGrouping>, TreeNode<IGrouping>)

    Declaration
    protected override Task<TreeNode<IGrouping>> CreateCopiedNode(TreeNode<IGrouping> original, TreeNode<IGrouping> copiedParent)
    Parameters
    Type Name Description
    TreeNode<IGrouping> original
    TreeNode<IGrouping> copiedParent
    Returns
    Type Description
    Task<TreeNode<IGrouping>>
    Overrides
    LemonEdge.Client.Core.Views.Core.BaseTreeViewController<LemonEdge.API.Entities.Data.IGrouping>.CreateCopiedNode(LemonEdge.Utils.TreeNode<LemonEdge.API.Entities.Data.IGrouping>, LemonEdge.Utils.TreeNode<LemonEdge.API.Entities.Data.IGrouping>)

    LoadDataForCopyingNode(TreeNode<IGrouping>)

    Declaration
    protected override Task LoadDataForCopyingNode(TreeNode<IGrouping> node)
    Parameters
    Type Name Description
    TreeNode<IGrouping> node
    Returns
    Type Description
    Task
    Overrides
    LemonEdge.Client.Core.Views.Core.BaseTreeViewAnyController<LemonEdge.API.Entities.Data.IGrouping>.LoadDataForCopyingNode(LemonEdge.Utils.TreeNode<LemonEdge.API.Entities.Data.IGrouping>)

    OnNodeMoved(TreeNode<IGrouping>, TreeNode<IGrouping>, TreeNode<IGrouping>)

    Called when a tree node has been moved to allow any modifications to the old/new parent and sub items of the moved tree node

    Declaration
    public override void OnNodeMoved(TreeNode<IGrouping> oldParent, TreeNode<IGrouping> newParent, TreeNode<IGrouping> movedItem)
    Parameters
    Type Name Description
    TreeNode<IGrouping> oldParent

    The old parent of this tree node

    TreeNode<IGrouping> newParent

    The new parent for this tree node

    TreeNode<IGrouping> movedItem

    The tree node that was mvoed

    Overrides
    LemonEdge.Client.Core.Views.Core.BaseTreeViewAnyController<LemonEdge.API.Entities.Data.IGrouping>.OnNodeMoved(LemonEdge.Utils.TreeNode<LemonEdge.API.Entities.Data.IGrouping>, LemonEdge.Utils.TreeNode<LemonEdge.API.Entities.Data.IGrouping>, LemonEdge.Utils.TreeNode<LemonEdge.API.Entities.Data.IGrouping>)

    OnTrackedItemChanged(object, string)

    Provides the inheriting class the opportunity to react to any changed item in the context this View operates within

    Declaration
    protected override void OnTrackedItemChanged(object item, string propName)
    Parameters
    Type Name Description
    object item

    The item that has changed

    string propName

    The name of the property on the item that changed

    Overrides
    ModelViewController.OnTrackedItemChanged(object, string)

    UpdateNewItem(IGrouping)

    Updates the newly created item to be a child of the currently selected tree node in the TreeView if there is a current treenode selected

    Declaration
    protected override Task UpdateNewItem(IGrouping newItem)
    Parameters
    Type Name Description
    IGrouping newItem

    The new item to be updated as being a child of the currently selected tree node in the tree view

    Returns
    Type Description
    Task
    Overrides
    LemonEdge.Client.Core.Views.Core.BaseTreeViewController<LemonEdge.API.Entities.Data.IGrouping>.UpdateNewItem(LemonEdge.API.Entities.Data.IGrouping)

    UpdateRootCopiedNode(TreeNode<IGrouping>, TreeNode<IGrouping>)

    Declaration
    protected override Task UpdateRootCopiedNode(TreeNode<IGrouping> original, TreeNode<IGrouping> item)
    Parameters
    Type Name Description
    TreeNode<IGrouping> original
    TreeNode<IGrouping> item
    Returns
    Type Description
    Task
    Overrides
    LemonEdge.Client.Core.Views.Core.BaseTreeViewAnyController<LemonEdge.API.Entities.Data.IGrouping>.UpdateRootCopiedNode(LemonEdge.Utils.TreeNode<LemonEdge.API.Entities.Data.IGrouping>, LemonEdge.Utils.TreeNode<LemonEdge.API.Entities.Data.IGrouping>)

    Implements

    ICollectionExportable
    ISearchController
    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.