C# Class ComponentFactory.Krypton.Docking.DockingHelper

Set of common helper routines for Docking functionality
Exibir arquivo Open project: ComponentFactory/Krypton Class Usage Examples

Public Methods

Method Description
DockStyleFromDockEdge ( DockingEdge edge, bool opposite ) : DockStyle

Convert from DockEdge to DockStyle enumeration value.

InnerRectangle ( Control c ) : Rectangle

Find the inner space that occupied by the edge docking controls.

OrientationFromDockEdge ( DockingEdge edge ) : Orientation

Convert the DockEdge to Orientation enumeration value.

Method Details

DockStyleFromDockEdge() public static method

Convert from DockEdge to DockStyle enumeration value.
public static DockStyleFromDockEdge ( DockingEdge edge, bool opposite ) : DockStyle
edge DockingEdge DockEdge value to convert.
opposite bool Should the separator be docked against the opposite edge.
return DockStyle

InnerRectangle() public static method

Find the inner space that occupied by the edge docking controls.
public static InnerRectangle ( Control c ) : Rectangle
c System.Windows.Forms.Control Reference to control.
return System.Drawing.Rectangle

OrientationFromDockEdge() public static method

Convert the DockEdge to Orientation enumeration value.
public static OrientationFromDockEdge ( DockingEdge edge ) : Orientation
edge DockingEdge DockEdge value to convert.
return Orientation