Class DragSplitterController
The DragSplitterController class.
Implements
Inherited Members
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 |
---|
DragSplitter |
Properties
ChildCount
Gets the Child count.
Declaration
public override int ChildCount { get; }
Property Value
Type |
---|
System.Int32 |
Overrides
ChildHostCount
Gets the Child host count.
Declaration
public override int ChildHostCount { get; }
Property Value
Type |
---|
System.Int32 |
Overrides
DCR
Gets the IEnumerator
Declaration
public override IEnumerator DCR { get; }
Property Value
Type |
---|
System.Collections.IEnumerator |
Overrides
Floating
Gets / Sets the Floating.
Declaration
public override bool Floating { get; set; }
Property Value
Type |
---|
System.Boolean |
Overrides
HostControl
Gets the Host control.
Declaration
public override Control HostControl { get; }
Property Value
Type |
---|
System.Windows.Forms.Control |
Overrides
LayoutRect
Gets / Sets the Layout Rectangle.
Declaration
public override Rectangle LayoutRect { get; set; }
Property Value
Type |
---|
System.Drawing.Rectangle |
Overrides
MinimumSize
Gets the Minimum size.
Declaration
public override Size MinimumSize { get; }
Property Value
Type |
---|
System.Drawing.Size |
Overrides
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
AdjustLayout()
Adjust the layout of the DragSplitter.
Declaration
public override void AdjustLayout()
Overrides
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 |
---|
System.Drawing.Size |
Dispose(Boolean)
Declaration
protected override void Dispose(bool bdisposing)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | bdisposing |
Overrides
DockAsMDIChild()
Overrides the DockAsMDIChild. It helps to dock control as MDIChild.
Declaration
public override void DockAsMDIChild()
Overrides
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
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 |
---|
System.Int32 |
Overrides
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
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
IsHorizontallyResizable()
Indicates whether horizontally re sizable.
Declaration
public bool IsHorizontallyResizable()
Returns
Type |
---|
System.Boolean |
IsVerticallyResizable()
Indicates whether vertically re sizable.
Declaration
public bool IsVerticallyResizable()
Returns
Type |
---|
System.Boolean |
QueryController(String)
Declaration
protected override DockControllerBase QueryController(string uniqueName)
Parameters
Type | Name | Description |
---|---|---|
System.String | uniqueName |
Returns
Type |
---|
DockControllerBase |
Overrides
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 |
---|
System.Boolean |
Overrides
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
ResizeTargetPanes()
Based on the new splitter position, resize target controls
Declaration
public void ResizeTargetPanes()
UpdateControl()
Update the Control
Declaration
public override void UpdateControl()