Docking layout manager

授权协议 未知
开发语言
所属分类 jQuery 插件、 其他jQuery插件
软件类型 开源软件
地区 不详
投 递 者 上官波鸿
操作系统 未知
开源组织
适用人群 未知
 软件概览

This allow you to dock a HTML element like DIV. Docking concept is similar to the Microsoft style docking, where you can dock to Top, Left, Fill, Right and Bottom side of a web page.

Usage

    var layoutSettings =
    {
        Name    :   "Main",
        Dock    :   $.layoutEngine.DOCK.FILL,
        EleID   :   "main",
        Margin  :   5,
        Children:   [
                        {
                            Name    :   "Top",
                            Dock    :   $.layoutEngine.DOCK.TOP,
                            EleID   :   "top",
                            Margin  :   5,
                            Height  :   125
                        },
                        {
                            Name    :   "Left",
                            Dock    :   $.layoutEngine.DOCK.LEFT,
                            EleID   :   "left",
                            MarginLeft  :   5,
                            MarginRight  :   5,
                            Width   :   300
                        },
                        {
                            Name    :   "Fill",
                            Dock    :   $.layoutEngine.DOCK.FILL,
                            EleID   :   "fill",
                            Margin  :   0
                        },
                        {
                            Name    :   "Right",
                            Dock    :   $.layoutEngine.DOCK.RIGHT,
                            EleID   :   "right",
                            MarginLeft  :   5,
                            MarginRight  :   5,                           
                            Width   :   200
                        },
                        {
                            Name    :   "Bottom",
                            Dock    :   $.layoutEngine.DOCK.BOTTOM,
                            EleID   :   "bottom",
                            Margin  :   5,
                            Height  :   125
                        }
                    ]
            
    };
   
    $.layoutEngine(layoutSettings);

  • 1.找到作为多文档界面(MDI)子表单容器的表单。 将其基类从Form更改为LinsUI.FlexMDIForm。 例如,如果MyMDIForm类是您的MDI容器, //旧代码 公共局部类MyMDIForm:表格 { } //新代码 使用LinsUI; 公共局部类MyMDIForm:LinsUI.FlexMDIForm { } 2.打开Program.cs文件,设置布局设置文件的默认路径,帮助文件