Class EntityTabOrSelectedItemView
A standard tool window comtroller that displays a view prompting the user to use the toggle command to switch between displaying the main item of the selected layout, or the grid selections on the selected layout
Inherited Members
Namespace: LemonEdge.Client.Core.Views.Controllers.ToolWindows
Assembly: ClientCore.dll
Syntax
public class EntityTabOrSelectedItemView : ModelToolWindowController, IModelViewController, IHasToggleStatus, IDisposable
Constructors
EntityTabOrSelectedItemView(IModelView)
Creates a new EntityTabOrSelectedItemView
Declaration
public EntityTabOrSelectedItemView(IModelView view)
Parameters
Type | Name | Description |
---|---|---|
IModelView | view | The view implementation using UI components to show a message telling the user they can toggle between the two modes for displaying data on this tool window |
Properties
ContextHelpURL
The help url for this view, default - https://web.lemonedge.com/help/tool-window-selection-view
Declaration
public override string ContextHelpURL { get; }
Property Value
Type | Description |
---|---|
System.String |
Overrides
TrackViewSelectedItems
True - Indicates this view has a command that means it displays the main item of the layout this toolwindow is against, or the selected item of a grid in the layout this toolwindow is against. If the latter it updates as the user changes grid selection immediately.
This item is then available to the SelectedItemForSubViews ensuring sub views can be created in a toolwindow layout to this view that react to the same entity selection i nthe target layout
Declaration
protected override bool TrackViewSelectedItems { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
Overrides
Methods
DisplayToolWindow(Object)
Displays the item this tool window is working against - either them main layout item, or the selected item of a grid within it
Declaration
public override Task DisplayToolWindow(object item)
Parameters
Type | Name | Description |
---|---|---|
System.Object | item | The item to display |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task | A task indicating the completion of the operation |
Overrides
ViewSelectedItemsUpdate(Boolean)
Updates the UI to indicate what is being selected
Declaration
public override void ViewSelectedItemsUpdate(bool viewingSelectedItem)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | viewingSelectedItem |