Class LayoutDisplayerToolWindow
The tool window Item used to display a LayoutDesigner tool window
Inherited Members
Namespace: LemonEdge.Client.Core.Views.Core
Assembly: LemonEdge.ClientCore.dll
Syntax
public class LayoutDisplayerToolWindow : ToolWindowItem
Constructors
LayoutDisplayerToolWindow(IRootController)
Creates a new tool window item for the layout designer tool window with the specified current active IModelLayoutDisplayer to work against
Declaration
[ActivatorUtilitiesConstructor]
public LayoutDisplayerToolWindow(IRootController rootController)
Parameters
| Type | Name | Description |
|---|---|---|
| IRootController | rootController | The app controller, for service access |
LayoutDisplayerToolWindow(IRootController, IModelLayoutDisplayer)
Creates a new tool window item for the layout designer tool window with the specified current active IModelLayoutDisplayer to work against
Declaration
public LayoutDisplayerToolWindow(IRootController rootController, IModelLayoutDisplayer displayer)
Parameters
| Type | Name | Description |
|---|---|---|
| IRootController | rootController | The app controller, for service access |
| IModelLayoutDisplayer | displayer | The current active displayer to work against |
Fields
PARAM_LAYOUTDESIGNER
The layout name this item requires to be displayed
Available so a DefaultLayoutGenerator can be implemented to create a custom layout specifically for this item
Declaration
public const string PARAM_LAYOUTDESIGNER = "LayoutDesigner_ToolWindow"
Field Value
| Type | Description |
|---|---|
| string |
Properties
ImageID
Returns the layout default image
Declaration
public override Guid ImageID { get; }
Property Value
| Type | Description |
|---|---|
| Guid |
Overrides
Label
Always returns "Layout Designer"
Declaration
public override string Label { get; }
Property Value
| Type | Description |
|---|---|
| string |
Overrides
LayoutDiplayName
Returns PARAM_LAYOUTDESIGNER
Declaration
public override string LayoutDiplayName { get; }
Property Value
| Type | Description |
|---|---|
| string |
Overrides
UsesDisplayerContext
Use the display context if the layout we are working against is an ILayout as we can design and modify that
Declaration
public override bool UsesDisplayerContext { get; }
Property Value
| Type | Description |
|---|---|
| bool |