Search Results for

    Show / Hide Table of Contents

    Class LayoutDisplayerToolWindow

    The tool window Item used to display a LayoutDesigner tool window

    Inheritance
    System.Object
    ToolWindowItem
    LayoutDisplayerToolWindow
    Inherited Members
    ToolWindowItem.Displayer
    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 LayoutDisplayerToolWindow : ToolWindowItem

    Constructors

    LayoutDisplayerToolWindow()

    Creates a new tool window item for the layout designer tool window

    Parameterless constructors are required for all ToolWindowItem implementations

    Declaration
    public LayoutDisplayerToolWindow()

    LayoutDisplayerToolWindow(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(IModelLayoutDisplayer displayer)
    Parameters
    Type Name Description
    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
    System.String

    Properties

    ImageID

    Returns the layout default image

    Declaration
    public override Guid ImageID { get; }
    Property Value
    Type Description
    System.Guid
    Overrides
    ToolWindowItem.ImageID

    Label

    Always returns "Layout Designer"

    Declaration
    public override string Label { get; }
    Property Value
    Type Description
    System.String
    Overrides
    ToolWindowItem.Label

    LayoutDiplayName

    Returns PARAM_LAYOUTDESIGNER

    Declaration
    public override string LayoutDiplayName { get; }
    Property Value
    Type Description
    System.String
    Overrides
    ToolWindowItem.LayoutDiplayName

    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
    System.Boolean
    Overrides
    ToolWindowItem.UsesDisplayerContext

    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.