ComponentFactory.Krypton.Docking.KryptonDockingEdge.KryptonDockingEdge C# (CSharp) Method

KryptonDockingEdge() public method

Initialize a new instance of the KryptonDockingEdge class.
public KryptonDockingEdge ( string name, Control control, DockingEdge edge ) : System
name string Initial name of the element.
control System.Windows.Forms.Control Reference to control that is being managed.
edge DockingEdge Docking edge being managed.
return System
        public KryptonDockingEdge(string name, Control control, DockingEdge edge)
            : base(name)
        {
            if (control == null)
                throw new ArgumentNullException("control");

            _control = control;
            _edge = edge;

            // Auto create elements for handling standard docked content and auto hidden content
            InternalAdd(new KryptonDockingEdgeAutoHidden("AutoHidden", control, edge));
            InternalAdd(new KryptonDockingEdgeDocked("Docked", control, edge));
        }
KryptonDockingEdge