Class FoldersController
Inheritance
FoldersController
Assembly: LemonEdge.ClientCore.dll
Syntax
public class FoldersController : BaseTreeViewController<IFolder>, ICollectionExportable, ISearchController, IModelViewController
Constructors
FoldersController(IBaseTreeView<IFolder>)
Declaration
public FoldersController(IBaseTreeView<IFolder> view)
Parameters
Properties
AllowXMLImportExport
Declaration
public override bool AllowXMLImportExport { get; }
Property Value
Overrides
CommandCopyAllow
Indicates if copying should be allowed in this view
Declaration
protected override bool CommandCopyAllow { get; }
Property Value
Overrides
CommandOpenAllow
Indicates if the view should show the Open command - default is false
Declaration
public override bool CommandOpenAllow { get; }
Property Value
Overrides
ForceSubViewUpdateOnChangeEvenIfSame
Declaration
protected override bool ForceSubViewUpdateOnChangeEvenIfSame { get; }
Property Value
Overrides
GetParentIDPropertyName
Returns the property on the entity type IFolder that holds the relationship to the parent
instance of type IFolder too
Declaration
protected override string GetParentIDPropertyName { get; }
Property Value
Overrides
GetTreeNodeIconPropertyName
Declaration
public override string GetTreeNodeIconPropertyName { get; }
Property Value
Overrides
GetTreeNodeLabelPropertyName
Returns the property on the entity type IFolder 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
Overrides
ListenToChanges
Declaration
public override bool ListenToChanges { get; }
Property Value
Overrides
RenameHasOtherProperties
Declaration
protected override bool RenameHasOtherProperties { get; }
Property Value
Overrides
ShouldShowHiddenFolders
Declaration
public bool ShouldShowHiddenFolders { get; set; }
Property Value
Methods
DisplayUI()
Declaration
public override Task DisplayUI()
Returns
Type |
Description |
Task |
A task indicating the completion of the operation
|
Overrides
GetQuery()
Declaration
protected override QueryableExecuter<IFolder> GetQuery()
Returns
Overrides
InitCommands(IList<ViewCommand>)
Adds the following commands: Open, New, Delete, MoveUp, MoveDown, and Export Data
Declaration
protected override void InitCommands(IList<ViewCommand> commands)
Parameters
Overrides
PromptForItemLabel(IFolder)
Declaration
public override Task PromptForItemLabel(IFolder item)
Parameters
Returns
Overrides
UpdateNewItem(IFolder)
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(IFolder newItem)
Parameters
Type |
Name |
Description |
IFolder |
newItem |
The new item to be updated as being a child of the currently selected tree node in the tree view
|
Returns
Overrides
Implements
Extension Methods