Search Results for

    Show / Hide Table of Contents

    Class GridMenuConfigurationModel

    MOdel for storing menu function information of a grid view

    Inheritance
    System.Object
    GridMenuConfigurationModel
    Namespace: Simplic.Framework.DBUI
    Assembly: Simplic.Framework.DBUI.dll
    Syntax
    public class GridMenuConfigurationModel : UI.MVC.ViewModelBase

    Constructors

    | Improve this Doc View Source

    GridMenuConfigurationModel()

    Create menu model and initialize default values

    Declaration
    public GridMenuConfigurationModel()

    Properties

    | Improve this Doc View Source

    AddToContextMenu

    Defines whether to add the menu entry to the context menu

    Declaration
    [Display(GroupName = "Allgemein", Name = "Im Ribbonmenü anzeigen")]
    public bool AddToContextMenu { get; set; }
    Property Value
    Type Description
    System.Boolean
    | Improve this Doc View Source

    ClrClass

    name of the class which contains the method to execute

    Declaration
    [Display(GroupName = "Clr/.Net", Name = "Klasse")]
    public string ClrClass { get; set; }
    Property Value
    Type Description
    System.String
    | Improve this Doc View Source

    ClrMethod

    Name of a static method in the ClrClass to execute

    Declaration
    [Display(GroupName = "Clr/.Net", Name = "Statische Methode")]
    public string ClrMethod { get; set; }
    Property Value
    Type Description
    System.String
    | Improve this Doc View Source

    ClrNamespace

    Namespace path to the ClrClass which contains a method to execute

    Declaration
    [Display(GroupName = "Clr/.Net", Name = "Namespace")]
    public string ClrNamespace { get; set; }
    Property Value
    Type Description
    System.String
    | Improve this Doc View Source

    DisplayIndex

    Sort the menu entries ascending by it's order number

    Declaration
    [Display(GroupName = "Allgemein", Name = "Index/Reihenfolge")]
    public int DisplayIndex { get; set; }
    Property Value
    Type Description
    System.Int32
    | Improve this Doc View Source

    DisplayName

    Display name of the menu entry

    Declaration
    [Display(GroupName = "Allgemein", Name = "Anzeigename")]
    public string DisplayName { get; set; }
    Property Value
    Type Description
    System.String
    | Improve this Doc View Source

    ExecuteOnDoubleClick

    If set to true, this function will be called after a double click on a row was performed

    Declaration
    [Display(GroupName = "Maus/Tastatur", Name = "Mit Doppelklick ausführen")]
    public bool ExecuteOnDoubleClick { get; set; }
    Property Value
    Type Description
    System.Boolean
    | Improve this Doc View Source

    Id

    Unique id of the menu function

    Declaration
    [Browsable(false)]
    public Guid Id { get; set; }
    Property Value
    Type Description
    System.Guid
    | Improve this Doc View Source

    IsCustomMenuEntry

    If set to true, this entry will not be deleted when it does not exists any more

    Declaration
    [Display(GroupName = "Allgemein", Name = "Kundenindividueller Eintrag", Description = "Wird im Updatefall nicht gelöscht.")]
    public bool IsCustomMenuEntry { get; set; }
    Property Value
    Type Description
    System.Boolean
    | Improve this Doc View Source

    IsGridColumnBased

    Gets or sets whether the menu entry is generated by a specific columns

    Declaration
    [Display(GroupName = "Allgemein", Name = "Generierter Menüeintrag", Description = "Gibt an, ob der Menüeintrag auf der Basis von vorhandenen Spaltenwerten mehrfach angezeigt werden soll.")]
    public bool IsGridColumnBased { get; set; }
    Property Value
    Type Description
    System.Boolean
    | Improve this Doc View Source

    IsRowBased

    Menu functions with IsRowBased = True can only be used, if a row is selected

    Declaration
    [Display(GroupName = "Allgemein", Name = "Zeilenbasiert")]
    public bool IsRowBased { get; set; }
    Property Value
    Type Description
    System.Boolean
    | Improve this Doc View Source

    KeyCode1

    First key which must be pressed or hit for executing this menu function

    Declaration
    [Display(GroupName = "Maus/Tastatur", Name = "Taste 1")]
    public Key KeyCode1 { get; set; }
    Property Value
    Type Description
    System.Windows.Input.Key
    | Improve this Doc View Source

    KeyCode2

    Second key which must be pressed or hit for executing this menu function

    Declaration
    [Display(GroupName = "Maus/Tastatur", Name = "Taste 2")]
    public Key KeyCode2 { get; set; }
    Property Value
    Type Description
    System.Windows.Input.Key
    | Improve this Doc View Source

    KeyCode3

    Third key which must be pressed or hit for executing this menu function

    Declaration
    [Display(GroupName = "Maus/Tastatur", Name = "Taste 3")]
    public Key KeyCode3 { get; set; }
    Property Value
    Type Description
    System.Windows.Input.Key
    | Improve this Doc View Source

    LargeIconGuid

    Guid for loading the large icon for the ribbon menu

    Declaration
    [Display(GroupName = "Design", Name = "Großes Symbol")]
    public Guid? LargeIconGuid { get; set; }
    Property Value
    Type Description
    System.Nullable<System.Guid>
    | Improve this Doc View Source

    NamedEvent

    Named event for using methhods which must be called in the same instance as the grid is embedded in (class instance)

    Declaration
    [Display(GroupName = "Clr/.Net", Name = "Benanntes Event")]
    public string NamedEvent { get; set; }
    Property Value
    Type Description
    System.String
    | Improve this Doc View Source

    NameParameterName

    Gets or sets the name of the parameter name

    Declaration
    [Display(GroupName = "Skript/CLR", Name = "Name-Parameter Name")]
    public string NameParameterName { get; set; }
    Property Value
    Type Description
    System.String
    | Improve this Doc View Source

    ParentMenuEntry

    Declaration
    [Display(GroupName = "Allgemein", Name = "Übergeordneter Eintrag", Description = "Gibt einen übergeordneten Menüeintrag an.")]
    public GridMenuConfigurationModel ParentMenuEntry { get; set; }
    Property Value
    Type Description
    GridMenuConfigurationModel
    | Improve this Doc View Source

    PrintReport

    True if a report should be printed directly

    Declaration
    [Display(GroupName = "Reporting", Name = "Direkt drucken")]
    public bool PrintReport { get; set; }
    Property Value
    Type Description
    System.Boolean
    | Improve this Doc View Source

    QuickReportName

    Name des Quick-Reports der aufgerufen werden soll

    Declaration
    [Display(GroupName = "Reporting", Name = "Quickreport")]
    public string QuickReportName { get; set; }
    Property Value
    Type Description
    System.String
    | Improve this Doc View Source

    ReportViewerType

    Report viewer type

    Declaration
    [Display(GroupName = "Reporting", Name = "Report-Aktion")]
    public OpenReportViewerType ReportViewerType { get; set; }
    Property Value
    Type Description
    OpenReportViewerType
    | Improve this Doc View Source

    RibbonIconSize

    Size of the ribbon menu entry

    Declaration
    [Display(GroupName = "Design", Name = "Ribbonknopfgröße")]
    public ButtonSize RibbonIconSize { get; set; }
    Property Value
    Type Description
    ButtonSize
    | Improve this Doc View Source

    RightGuid

    Guid controlling user access to the function

    Declaration
    [Browsable(false)]
    public Guid RightGuid { get; set; }
    Property Value
    Type Description
    System.Guid
    | Improve this Doc View Source

    ScriptClass

    Class to use when executing a menu function

    Declaration
    [Display(GroupName = "Skript", Name = "Skriptklasse")]
    public string ScriptClass { get; set; }
    Property Value
    Type Description
    System.String
    | Improve this Doc View Source

    ScriptMethod

    Method to execute when using a menu function

    Declaration
    [Display(GroupName = "Skript", Name = "Skriptmethode")]
    public string ScriptMethod { get; set; }
    Property Value
    Type Description
    System.String
    | Improve this Doc View Source

    ScriptName

    Script to execute when using the menu

    Declaration
    [Display(GroupName = "Skript", Name = "Skriptname")]
    public string ScriptName { get; set; }
    Property Value
    Type Description
    System.String
    | Improve this Doc View Source

    SmallIconGuid

    Guid for loading the small icon for the ribbon menu and the context menu

    Declaration
    [Display(GroupName = "Design", Name = "Kleines Symbol")]
    public Guid? SmallIconGuid { get; set; }
    Property Value
    Type Description
    System.Nullable<System.Guid>
    | Improve this Doc View Source

    ValueParameterName

    Gets or sets the name of the value parameter

    Declaration
    [Display(GroupName = "Skript/CLR", Name = "Wert-Parameter Name")]
    public string ValueParameterName { get; set; }
    Property Value
    Type Description
    System.String
    | Improve this Doc View Source

    VisibilityExpression

    Declaration
    [Display(GroupName = "Design", Name = "Sichtbarkeit-Expression", Description = "Gibt eine Expression an die festlegt, ob ein Menüeintrag sichtbar ist. <column-name> == \"<value>\"")]
    public string VisibilityExpression { get; set; }
    Property Value
    Type Description
    System.String

    Methods

    | Improve this Doc View Source

    GenerateMenuEntries()

    Generate a list of menu entries, if IsGridColumnBased is true

    Declaration
    public IList<GridMenuConfigurationModel> GenerateMenuEntries()
    Returns
    Type Description
    System.Collections.Generic.IList<GridMenuConfigurationModel>

    List of menu entries

    | Improve this Doc View Source

    GetDeepCopy()

    Create a deep copy of the current model and generate new id's

    Declaration
    public GridMenuConfigurationModel GetDeepCopy()
    Returns
    Type Description
    GridMenuConfigurationModel

    Copy of the current obejct/instance

    | Improve this Doc View Source

    GetDeepCopyNewId()

    Create a deep copy of the current model and generate new id's

    Declaration
    public GridMenuConfigurationModel GetDeepCopyNewId()
    Returns
    Type Description
    GridMenuConfigurationModel

    Copy of the current obejct/instance

    • Improve this Doc
    • View Source
    In This Article
    Back to top Copyright © 2018 SIMPLIC GmbH
    Generated by DocFx