C# Class ComponentFactory.Krypton.Docking.KryptonDockingControl

Inheritance: DockingElementOpenCollection
Show file Open project: Cocotteseb/Krypton Class Usage Examples

Public Methods

Method Description
KryptonDockingControl ( string name, Control control ) : System

Initialize a new instance of the KryptonDockingControl class.

KryptonDockingControl ( string name, Control control, KryptonDockingNavigator navigator ) : System

Initialize a new instance of the KryptonDockingControl class.

KryptonDockingControl ( string name, Control control, KryptonDockingWorkspace workspace ) : System

Initialize a new instance of the KryptonDockingControl class.

LoadElementFromXml ( XmlReader xmlReader, KryptonPageCollection pages ) : void

Loads docking configuration information using a provider xml reader.

PropogateAction ( DockingPropogateAction action, string uniqueNames ) : void

Propogates an action request down the hierarchy of docking elements.

PropogateDragTargets ( KryptonFloatingWindow floatingWindow, PageDragEndData dragData, DragTargetList targets ) : void

Propogates a request for drag targets down the hierarchy of docking elements.

Private Methods

Method Description
Construct ( Control control, IDockingElement innerElement ) : void
DebugOutput ( string title ) : void
EnforceInnerMinimum ( ) : void
EnforceInnerMinimum ( int remove, Orientation orientation ) : void
OnControlDisposed ( object sender, EventArgs e ) : void
OnControlSizeChanged ( object sender, EventArgs e ) : void
SubdivideRectangle ( Rectangle area, int divisor, int maxLength ) : System.Drawing.Rectangle[]

Method Details

KryptonDockingControl() public method

Initialize a new instance of the KryptonDockingControl class.
public KryptonDockingControl ( string name, Control control ) : System
name string Initial name of the element.
control System.Windows.Forms.Control Reference to control derived instance.
return System

KryptonDockingControl() public method

Initialize a new instance of the KryptonDockingControl class.
public KryptonDockingControl ( string name, Control control, KryptonDockingNavigator navigator ) : System
name string Initial name of the element.
control System.Windows.Forms.Control Reference to control derived instance.
navigator KryptonDockingNavigator Inner space occupied by a KryptonDockingNavigator.
return System

KryptonDockingControl() public method

Initialize a new instance of the KryptonDockingControl class.
public KryptonDockingControl ( string name, Control control, KryptonDockingWorkspace workspace ) : System
name string Initial name of the element.
control System.Windows.Forms.Control Reference to control derived instance.
workspace KryptonDockingWorkspace Inner space occupied by a KryptonDockingNavigator.
return System

LoadElementFromXml() public method

Loads docking configuration information using a provider xml reader.
public LoadElementFromXml ( XmlReader xmlReader, KryptonPageCollection pages ) : void
xmlReader XmlReader Xml reader object.
pages KryptonPageCollection Collection of available pages for adding.
return void

PropogateAction() public method

Propogates an action request down the hierarchy of docking elements.
public PropogateAction ( DockingPropogateAction action, string uniqueNames ) : void
action DockingPropogateAction Action that is requested to be performed.
uniqueNames string Array of unique names of the pages the action relates to.
return void

PropogateDragTargets() public method

Propogates a request for drag targets down the hierarchy of docking elements.
public PropogateDragTargets ( KryptonFloatingWindow floatingWindow, PageDragEndData dragData, DragTargetList targets ) : void
floatingWindow KryptonFloatingWindow Reference to window being dragged.
dragData ComponentFactory.Krypton.Navigator.PageDragEndData Set of pages being dragged.
targets DragTargetList Collection of drag targets.
return void