WinForms

Code Examples Upgrade Guide User Guide Demos Support Forums Download
  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class DragSplitterController

    Show / Hide Table of Contents

    Class DragSplitterController

    The DragSplitterController class.

    Inheritance
    System.Object
    DockControllerBase
    DragSplitterController
    Implements
    System.IDisposable
    Inherited Members
    DockControllerBase.m_PreviousDockingMgr
    DockControllerBase.dockingMgr
    DockControllerBase.dcParent
    DockControllerBase.dockInfoCurrent
    DockControllerBase.nDockBoundary
    DockControllerBase.bDeleting
    DockControllerBase.m_childWrapper
    DockControllerBase.m_bMinimized
    DockControllerBase.m_bMaximized
    DockControllerBase.dockInfoTransient
    DockControllerBase.minSize
    DockControllerBase.m_bAllowFloating
    DockControllerBase.Refresh()
    DockControllerBase.AddToDCR(DCRelationship)
    DockControllerBase.RemoveFromDCR(DCRelationship)
    DockControllerBase.InsertIntoDCR(ArrayList, Int32, DCRelationship)
    DockControllerBase.UpdateDCRIndex(DCRelationship)
    DockControllerBase.IsTargetController(Point)
    DockControllerBase.IsTargetController(Control)
    DockControllerBase.ReplaceChild(DockControllerBase, DockControllerBase)
    DockControllerBase.CloseController()
    DockControllerBase.FireControllerChanged(DockInfo, DCRelationship)
    DockControllerBase.InvokeDocking(DockControllerBase)
    DockControllerBase.InvokePrevDockFloatTransition(Boolean)
    DockControllerBase.RedockController(DockInfo, Boolean)
    DockControllerBase.AttemptDCRDocking(DockControllerBase, IEnumerator)
    DockControllerBase.InvokeDCRDocking(DockControllerBase, DCRelationship)
    DockControllerBase.QueryRelationship(DCRelationship)
    DockControllerBase.IterChildControllers(DockControllerBase, DCRelationship)
    DockControllerBase.ComputeLRTBBorders(Rectangle, Int32, Rectangle[])
    DockControllerBase.OnControllerChanged(ControllerChangedEventArgs)
    DockControllerBase.Dispose()
    DockControllerBase.ApplyDockInfo()
    DockControllerBase.MoveController()
    DockControllerBase.DockingManager
    DockControllerBase.Deleting
    DockControllerBase.ParentController
    DockControllerBase.ToplevelController
    DockControllerBase.DICurrent
    DockControllerBase.DITransient
    DockControllerBase.DockBoundary
    DockControllerBase.MainFormController
    DockControllerBase.DCRCurrent
    DockControllerBase.ChildEnumerator
    DockControllerBase.ChildControllers
    DockControllerBase.ChildHostEnumerator
    DockControllerBase.ControllerChanged
    System.Object.ToString()
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    Namespace: Syncfusion.Windows.Forms.Tools
    Assembly: Syncfusion.Tools.Windows.dll
    Syntax
    public class DragSplitterController : DockControllerBase, IDisposable, IResizable

    Constructors

    DragSplitterController(DockingManager, DragSplitter)

    Constructor of the DragSplitterController

    Declaration
    public DragSplitterController(DockingManager mgr, DragSplitter host)
    Parameters
    Type Name Description
    DockingManager mgr

    The DockingManager instance.

    DragSplitter host

    The DragSplitter instance.

    Fields

    ctrlHost

    Declaration
    protected DragSplitter ctrlHost
    Field Value
    Type Description
    DragSplitter

    Properties

    ChildCount

    Gets the Child count.

    Declaration
    public override int ChildCount { get; }
    Property Value
    Type Description
    System.Int32
    Overrides
    DockControllerBase.ChildCount

    ChildHostCount

    Gets the Child host count.

    Declaration
    public override int ChildHostCount { get; }
    Property Value
    Type Description
    System.Int32
    Overrides
    DockControllerBase.ChildHostCount

    DCR

    Gets the IEnumerator

    Declaration
    public override IEnumerator DCR { get; }
    Property Value
    Type Description
    System.Collections.IEnumerator
    Overrides
    DockControllerBase.DCR

    Floating

    Gets / Sets the Floating.

    Declaration
    public override bool Floating { get; set; }
    Property Value
    Type Description
    System.Boolean
    Overrides
    DockControllerBase.Floating

    HostControl

    Gets the Host control.

    Declaration
    public override Control HostControl { get; }
    Property Value
    Type Description
    System.Windows.Forms.Control
    Overrides
    DockControllerBase.HostControl

    LayoutRect

    Gets / Sets the Layout Rectangle.

    Declaration
    public override Rectangle LayoutRect { get; set; }
    Property Value
    Type Description
    System.Drawing.Rectangle
    Overrides
    DockControllerBase.LayoutRect

    MinimumSize

    Gets the Minimum size.

    Declaration
    public override Size MinimumSize { get; }
    Property Value
    Type Description
    System.Drawing.Size
    Overrides
    DockControllerBase.MinimumSize

    Methods

    AddChild(DockControllerBase, DockingStyle)

    Overries the AddChild. It helps to add a child.

    Declaration
    public override void AddChild(DockControllerBase dc, DockingStyle db)
    Parameters
    Type Name Description
    DockControllerBase dc

    The DockControllerBase instance.

    DockingStyle db

    The Syncfusion.Windows.Forms.Tools.DockingStyle.

    Overrides
    DockControllerBase.AddChild(DockControllerBase, DockingStyle)

    AdjustLayout()

    Adjust the layout of the DragSplitter.

    Declaration
    public override void AdjustLayout()
    Overrides
    DockControllerBase.AdjustLayout()

    CalculateSize(Size, Size)

    Calculate the Size.

    Declaration
    public Size CalculateSize(Size parentSize, Size newParentSize)
    Parameters
    Type Name Description
    System.Drawing.Size parentSize

    The parent size.

    System.Drawing.Size newParentSize

    The new parent size.

    Returns
    Type Description
    System.Drawing.Size

    Dispose(Boolean)

    Declaration
    protected override void Dispose(bool bdisposing)
    Parameters
    Type Name Description
    System.Boolean bdisposing
    Overrides
    DockControllerBase.Dispose(Boolean)

    DockAsMDIChild()

    Overrides the DockAsMDIChild. It helps to dock control as MDIChild.

    Declaration
    public override void DockAsMDIChild()
    Overrides
    DockControllerBase.DockAsMDIChild()

    GetChildAt(Int32)

    Gets the child with the specified index.

    Declaration
    public override DockControllerBase GetChildAt(int index)
    Parameters
    Type Name Description
    System.Int32 index

    The index of the child

    Returns
    Type Description
    DockControllerBase

    Null.

    Overrides
    DockControllerBase.GetChildAt(Int32)

    GetChildHostIndex(DockControllerBase)

    Gets the index of the child host.

    Declaration
    public override int GetChildHostIndex(DockControllerBase child)
    Parameters
    Type Name Description
    DockControllerBase child

    The DockControllerBase instance.

    Returns
    Type Description
    System.Int32
    Overrides
    DockControllerBase.GetChildHostIndex(DockControllerBase)

    GetDockInfo(Control, Point, DockInfo)

    Gets the DockInfo

    Declaration
    public override void GetDockInfo(Control ctrl, Point pt, DockInfo di)
    Parameters
    Type Name Description
    System.Windows.Forms.Control ctrl

    The dock enabled control.

    System.Drawing.Point pt

    The co ordinate point,

    DockInfo di

    The DockInfo

    Overrides
    DockControllerBase.GetDockInfo(Control, Point, DockInfo)

    HandleMouseDownImp(MouseButtons, Point)

    Declaration
    protected void HandleMouseDownImp(MouseButtons button, Point ptclient)
    Parameters
    Type Name Description
    System.Windows.Forms.MouseButtons button
    System.Drawing.Point ptclient

    HandleMouseMoveImp(MouseButtons, Point)

    Declaration
    protected void HandleMouseMoveImp(MouseButtons button, Point ptclient)
    Parameters
    Type Name Description
    System.Windows.Forms.MouseButtons button
    System.Drawing.Point ptclient

    HandleMouseUpImp(MouseButtons, Point)

    Declaration
    protected void HandleMouseUpImp(MouseButtons button, Point ptclient)
    Parameters
    Type Name Description
    System.Windows.Forms.MouseButtons button
    System.Drawing.Point ptclient

    InsertChild(DockControllerBase, Int32, DockingStyle)

    Overrides the InsertChild. It helps to insert the child.

    Declaration
    public override void InsertChild(DockControllerBase dc, int i, DockingStyle db)
    Parameters
    Type Name Description
    DockControllerBase dc

    The DockControllerBase instance.

    System.Int32 i

    The index which needs to insert the child.

    DockingStyle db

    The DockingStyle.

    Overrides
    DockControllerBase.InsertChild(DockControllerBase, Int32, DockingStyle)

    IsHorizontallyResizable()

    Indicates whether horizontally re sizable.

    Declaration
    public bool IsHorizontallyResizable()
    Returns
    Type Description
    System.Boolean

    IsVerticallyResizable()

    Indicates whether vertically re sizable.

    Declaration
    public bool IsVerticallyResizable()
    Returns
    Type Description
    System.Boolean

    QueryController(String)

    Declaration
    protected override DockControllerBase QueryController(string uniqueName)
    Parameters
    Type Name Description
    System.String uniqueName
    Returns
    Type Description
    DockControllerBase
    Overrides
    DockControllerBase.QueryController(String)

    QueryDropProceedWithDock(Control, DockingStyle)

    Dock the docked on dropped position.

    Declaration
    public override bool QueryDropProceedWithDock(Control ctrldrop, DockingStyle style)
    Parameters
    Type Name Description
    System.Windows.Forms.Control ctrldrop

    The dock enabled control.

    DockingStyle style

    The DockingStyle.

    Returns
    Type Description
    System.Boolean
    Overrides
    DockControllerBase.QueryDropProceedWithDock(Control, DockingStyle)

    RemoveChild(DockControllerBase)

    Overrides the RemoveChild. It helps to remove the child.

    Declaration
    public override void RemoveChild(DockControllerBase dc)
    Parameters
    Type Name Description
    DockControllerBase dc

    The DockControllerBase instance.

    Overrides
    DockControllerBase.RemoveChild(DockControllerBase)

    ResizeTargetPanes()

    Based on the new splitter position, resize target controls

    Declaration
    public void ResizeTargetPanes()

    UpdateControl()

    Update the Control

    Declaration
    public override void UpdateControl()
    Overrides
    DockControllerBase.UpdateControl()

    Implements

    System.IDisposable
    Back to top Generated by DocFX
    Copyright © 2001 - 2023 Syncfusion Inc. All Rights Reserved