Search Results for

    Show / Hide Table of Contents

    Class DocumentsToolWindow

    The tool window Item used to display a Documents tool window

    Inheritance
    System.Object
    ToolWindowItem
    ToolWindowItemForSingleTabOrGridSelectedItem
    DocumentsToolWindow
    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 DocumentsToolWindow : ToolWindowItemForSingleTabOrGridSelectedItem

    Constructors

    DocumentsToolWindow()

    Creates a new tool window item for the documents tool window

    Parameterless constructors are required for all ToolWindowItem implementations

    Declaration
    public DocumentsToolWindow()

    DocumentsToolWindow(IModelLayoutDisplayer)

    Creates a new tool window item for the documents tool window with the specified current active IModelLayoutDisplayer to work against

    Declaration
    public DocumentsToolWindow(IModelLayoutDisplayer displayer)
    Parameters
    Type Name Description
    IModelLayoutDisplayer displayer

    The current active displayer to work against

    Fields

    PARAM_DOCUMENTS

    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_DOCUMENTS = "Documents_ToolWindow"
    Field Value
    Type Description
    System.String

    Properties

    Descriptor

    Indicates this always works with the IDocument type

    Declaration
    public override EntityDescriptor Descriptor { get; }
    Property Value
    Type Description
    EntityDescriptor
    Overrides
    ToolWindowItemForSingleTabOrGridSelectedItem.Descriptor

    ImageID

    Returns the documents default image

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

    Label

    Always returns "Documents"

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

    LayoutDiplayName

    Returns PARAM_DOCUMENTS

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

    UsesDisplayerContext

    Always returns true as this tool window edits the IDocument records associated with the active IModelLayoutDisplayer in their context

    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.