示例#1
0
        //
        public DockableControl(string name)
            : base(name)
        {
            _launcher = new Launcher("launcher"+name);
            _launcher.Remote = this;
            PageManager.Context.dockModule.AddChild(_launcher);
            _header = new Label("Header");
            _headerContainer = new BaseControl("HeaderContainer");

            _headerContainer.CssClass = "ui-dialog-titlebar ui-widget-header ui-corner-all ui-helper-clearfix";
            _header.CssClass = "ui-dialog-title";
            CssClass = "ui-dialog ui-widget ui-widget-content ui-corner-all";

            draggableOptions = new DraggableOptions()
            {
                Handle = _headerContainer.ControlContainer,
                ZIndex = 10,
                Scope = "draggable",
                Containment = PageManager.Context.panelLayout.ControlContainer

            };
            resizableOptions = new ResizableOptions()
            {
                MinHeight = 100,
                MinWidth = 100,
                MaxHeight = Window.InnerHeight,
                MaxWidth = Window.InnerWidth
            };

            _headerContainer.AddChild(_header);
            AddChild(_headerContainer);
        }
示例#2
0
 public ResizableObject Resizable(ResizableOptions options) {
     return null;
 }
示例#3
0
 public static ResizableObject Resizable(this jQueryObject q, ResizableOptions options)
 {
     return(null);
 }
示例#4
0
 public ResizableObject Resizable(ResizableOptions options)
 {
     return(null);
 }
 public static ResizableObject Resizable(this jQueryObject q, ResizableOptions options) {
     return null;
 }