Inheritance: KryptonDockingSpace
 /// <summary>
 /// Initialize a new instance of the DockableWorkspaceCellEventArgs class.
 /// </summary>
 /// <param name="workspace">Reference to existing dockable workspace control instance.</param>
 /// <param name="element">Reference to docking workspace element that is managing the dockable workspace control.</param>
 /// <param name="cell">Reference to workspace control cell instance.</param>
 public DockableWorkspaceCellEventArgs(KryptonDockableWorkspace workspace,
                                       KryptonDockingWorkspace element,
                                       KryptonWorkspaceCell cell)
 {
     _workspace = workspace;
     _element = element;
     _cell = cell;
 }
 /// <summary>
 /// Initialize a new instance of the DockableWorkspaceEventArgs class.
 /// </summary>
 /// <param name="workspace">Reference to dockable workspace control instance.</param>
 /// <param name="element">Reference to docking workspace element that is managing the dockable workspace control.</param>
 public DockableWorkspaceEventArgs(KryptonDockableWorkspace workspace,
     KryptonDockingWorkspace element)
 {
     _workspace = workspace;
     _element = element;
 }
        /// <summary>
        /// Initialize a new instance of the KryptonDockingControl class.
        /// </summary>
        /// <param name="name">Initial name of the element.</param>
        /// <param name="control">Reference to control derived instance.</param>
        /// <param name="workspace">Inner space occupied by a KryptonDockingNavigator.</param>
        public KryptonDockingControl(string name, Control control, KryptonDockingWorkspace workspace)
            : base(name)
        {
            if (control == null)
                throw new ArgumentNullException("control");

            if (workspace == null)
                throw new ArgumentNullException("workspace");

            Construct(control, workspace);
        }
示例#4
0
 /// <summary>
 /// Manage docking capability for provided dockable workspace control.
 /// </summary>
 /// <param name="name">Name for new docking element.</param>
 /// <param name="storeName">Store name for docking element.</param>
 /// <param name="w">Reference to dockable workspace.</param>
 /// <returns>KryptonDockingWorkspace instance created.</returns>
 public KryptonDockingWorkspace ManageWorkspace(string name, string storeName, KryptonDockableWorkspace w)
 {
     KryptonDockingWorkspace dockingWorkspace = new KryptonDockingWorkspace(name, storeName, w);
     Add(dockingWorkspace);
     return dockingWorkspace;
 }
示例#5
0
 /// <summary>
 /// Manage auto hidden/docked capabilities for provided control.
 /// </summary>
 /// <param name="name">Name for new docking element.</param>
 /// <param name="c">Reference to control instance.</param>
 /// <param name="workspace">Reference to docking workspace that is inside the control.</param>
 /// <returns>KryptonDockingControl instance created.</returns>
 public KryptonDockingControl ManageControl(string name, Control c, KryptonDockingWorkspace workspace)
 {
     KryptonDockingControl dockingControl = new KryptonDockingControl(name, c, workspace);
     Add(dockingControl);
     return dockingControl;
 }
示例#6
0
 /// <summary>
 /// Manage auto hidden/docked capabilities for provided control.
 /// </summary>
 /// <param name="c">Reference to control instance.</param>
 /// <param name="workspace">Reference to docking workspace that is inside the control.</param>
 /// <returns>KryptonDockingControl instance created.</returns>
 public KryptonDockingControl ManageControl(Control c, KryptonDockingWorkspace workspace)
 {
     return ManageControl("Control", c, workspace);
 }