Class FloatingFormController
The FloatingFormController class.
Implements
Inherited Members
Namespace: Syncfusion.Windows.Forms.Tools
Assembly: Syncfusion.Tools.Windows.dll
Syntax
public class FloatingFormController : DockControllerBase, IDisposable
Constructors
FloatingFormController(DockingManager, FloatingForm)
Constructor of the FloatingFormController.
Declaration
public FloatingFormController(DockingManager mgr, FloatingForm host)
Parameters
Type | Name | Description |
---|---|---|
DockingManager | mgr | The DockingManager instance. |
FloatingForm | host | The FloatingForm instance. |
Fields
dcChild
Declaration
protected DockControllerBase dcChild
Field Value
Type |
---|
DockControllerBase |
m_nImageIndex
Declaration
protected int m_nImageIndex
Field Value
Type |
---|
System.Int32 |
Properties
ChildControllers
Gets the ChildControllers.
Declaration
public override ArrayList ChildControllers { get; }
Property Value
Type |
---|
System.Collections.ArrayList |
Overrides
ChildCount
Gets the ChildCount
Declaration
public override int ChildCount { get; }
Property Value
Type |
---|
System.Int32 |
Overrides
ChildHostCount
Gets the ChildHostCount.
Declaration
public override int ChildHostCount { get; }
Property Value
Type |
---|
System.Int32 |
Overrides
ChildHostEnumerator
Gets the ChildEnumerator
Declaration
public override IEnumerator ChildHostEnumerator { get; }
Property Value
Type |
---|
System.Collections.IEnumerator |
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 HostControl.
Declaration
public override Control HostControl { get; }
Property Value
Type |
---|
System.Windows.Forms.Control |
Overrides
ImageIndex
Gets / Sets the ImageIndex.
Declaration
public int ImageIndex { get; set; }
Property Value
Type |
---|
System.Int32 |
LayoutRect
Gets / Sets the Layout Rectangle.
Declaration
public override Rectangle LayoutRect { get; set; }
Property Value
Type |
---|
System.Drawing.Rectangle |
Overrides
MinimumSize
Gets the MinimumSize
Declaration
public override Size MinimumSize { get; }
Property Value
Type |
---|
System.Drawing.Size |
Overrides
Methods
AddChild(DockControllerBase, DockingStyle)
Overrides the AddChild. It helps to add child..
Declaration
public override void AddChild(DockControllerBase dc, DockingStyle db)
Parameters
Type | Name | Description |
---|---|---|
DockControllerBase | dc | The DockControllerBase instance. |
DockingStyle | db | The DockingStyle |
Overrides
AdjustLayout()
Overrides the AdjustLayout.
Declaration
public override void AdjustLayout()
Overrides
ApplyDockInfo()
Overrides the ApplyDockInfo
Declaration
public override void ApplyDockInfo()
Overrides
AttemptDCRDocking(DockControllerBase, IEnumerator)
Overrides the AttemptDCRDocking
Declaration
public override bool AttemptDCRDocking(DockControllerBase dc, IEnumerator iedcr)
Parameters
Type | Name | Description |
---|---|---|
DockControllerBase | dc | The DockControllerBase instance. |
System.Collections.IEnumerator | iedcr | The IEnumerator. |
Returns
Type |
---|
System.Boolean |
Overrides
ClearSharedFormReferences(DockControllerBase)
Declaration
protected void ClearSharedFormReferences(DockControllerBase controller)
Parameters
Type | Name | Description |
---|---|---|
DockControllerBase | controller |
CloseController()
Invoke close controller on child
Declaration
public override void CloseController()
Overrides
Dispose(Boolean)
Declaration
protected override void Dispose(bool bdisposing)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | bdisposing |
Overrides
DockAsMDIChild()
Overrides the DockAsMDIChild
Declaration
public override void DockAsMDIChild()
Overrides
DoRecDCRRedocking(DockControllerBase)
Declaration
protected void DoRecDCRRedocking(DockControllerBase dc)
Parameters
Type | Name | Description |
---|---|---|
DockControllerBase | dc |
GetChildAt(Int32)
Gets the child in specified index.
Declaration
public override DockControllerBase GetChildAt(int index)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | index | The index of the child control. |
Returns
Type |
---|
DockControllerBase |
Overrides
GetChildHostIndex(DockControllerBase)
Gets the child host index.
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)
Overrides the GetDockInfo
Declaration
public override void GetDockInfo(Control ctrl, Point ptscreen, DockInfo di)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.Forms.Control | ctrl | The dock enabled control. |
System.Drawing.Point | ptscreen | Mouse point |
DockInfo | di | The DockInfo |
Overrides
HandleDoubleClickImp(Point)
Declaration
protected void HandleDoubleClickImp(Point ptclient)
Parameters
Type | Name | Description |
---|---|---|
System.Drawing.Point | ptclient |
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 be inserted. |
DockingStyle | db | The Syncfusion.Windows.Forms.Tools.DockingStyle. |
Overrides
InvokeDCRRedocking()
Invoke the docked control to Redock with dock relationship.
Declaration
public void InvokeDCRRedocking()
InvokeRedocking()
Invoke Redocking
Declaration
public void InvokeRedocking()
IsTargetController(Point)
Indicates the target controller.
Declaration
public override bool IsTargetController(Point ptscreen)
Parameters
Type | Name | Description |
---|---|---|
System.Drawing.Point | ptscreen | The mouse co ordinate point. |
Returns
Type |
---|
System.Boolean |
Overrides
OnHostControlResize(Object, EventArgs)
Host control resize
Declaration
public void OnHostControlResize(object obj, EventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.Object | obj | The source of the control. |
System.EventArgs | e | The PaintEventArgs contains the event data. |
QueryDropProceedWithDock(Control, DockingStyle)
Overrides the QueryDropProceedWithDock
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 Syncfusion.Windows.Forms.Tools.DockingStyle. |
Returns
Type |
---|
System.Boolean |
Overrides
RefreshFormCaption()
Declaration
protected void RefreshFormCaption()
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
ReplaceChild(DockControllerBase, DockControllerBase)
Overrides the ReplaceChild.
Declaration
public override void ReplaceChild(DockControllerBase dccurrent, DockControllerBase dcnew)
Parameters
Type | Name | Description |
---|---|---|
DockControllerBase | dccurrent | The current DockControllerBase instance. |
DockControllerBase | dcnew | New DockControllerBase instance. |
Overrides
UpdateControl()
Update the control.
Declaration
public override void UpdateControl()