Class DockStateControllerWrapper
The DockStateControllerWrapper class provides the Dock information.
Implements
Inherited Members
Namespace: Syncfusion.Windows.Forms.Tools
Assembly: Syncfusion.Tools.Windows.dll
Syntax
public class DockStateControllerWrapper : DockStateControllerBase, IDisposable, IResizable
Constructors
DockStateControllerWrapper(DockingManager, DockStateControllerBase)
Constructor of the DockStateControllerWrapper.
Declaration
public DockStateControllerWrapper(DockingManager manager, DockStateControllerBase intControl)
Parameters
Type | Name | Description |
---|---|---|
DockingManager | manager | The DockingManager instance. |
DockStateControllerBase | intControl | The DockStateControllerBase instance. |
Fields
m_controlSize
Declaration
protected Size m_controlSize
Field Value
Type |
---|
System.Drawing.Size |
m_dockRelation
Declaration
protected DockInfo m_dockRelation
Field Value
Type |
---|
DockInfo |
m_dockRelControllers
Declaration
protected ArrayList m_dockRelControllers
Field Value
Type |
---|
System.Collections.ArrayList |
m_minimized
Declaration
protected Minimization m_minimized
Field Value
Type |
---|
Minimization |
m_relations
Declaration
protected Hashtable m_relations
Field Value
Type |
---|
System.Collections.Hashtable |
Properties
AutoHideMode
Gets / Sets the AutoHide Mode.
Declaration
public override bool AutoHideMode { get; set; }
Property Value
Type |
---|
System.Boolean |
Overrides
Floating
Gets / Sets the floating.
Declaration
public override bool Floating { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | Returns true if the controller is hosted within a floating frame. Else false |
Overrides
HostControl
Gets the HostControl
Declaration
public override Control HostControl { get; }
Property Value
Type |
---|
System.Windows.Forms.Control |
Overrides
LayoutRect
Gets / Sets the LayoutRect
Declaration
public override Rectangle LayoutRect { get; set; }
Property Value
Type |
---|
System.Drawing.Rectangle |
Overrides
Relations
Gets / Sets the Relations.
Declaration
public Hashtable Relations { get; set; }
Property Value
Type |
---|
System.Collections.Hashtable |
Methods
CalculateSize(Size, Size)
Calculate the size.
Declaration
public Size CalculateSize(Size parentSize, Size newParentSize)
Parameters
Type | Name | Description |
---|---|---|
System.Drawing.Size | parentSize | Parent size |
System.Drawing.Size | newParentSize | The new parent size |
Returns
Type |
---|
System.Drawing.Size |
CloseController()
Overrides the CloseController
Declaration
public override void CloseController()
Overrides
DockAsMDIChild()
Overrides the DockAsMDIChild
Declaration
public override void DockAsMDIChild()
Overrides
EnterAutoHideMode()
Overrides the EnterAutoHideMode
Declaration
public override void EnterAutoHideMode()
Overrides
ExitAutoHideMode(Boolean)
Overrides the ExitAutoHideMode
Declaration
public override void ExitAutoHideMode(bool bcloseonexit)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | bcloseonexit | Indicates the control close on exit. |
Overrides
GetDockInfo(Control, Point, DockInfo)
Overrides the GetDockInfo
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 of docked control |
DockInfo | di | The DockInfo. |
Overrides
IsHorizontallyResizable()
Indicates the Horizontally Re sizable or not.
Declaration
public bool IsHorizontallyResizable()
Returns
Type |
---|
System.Boolean |
IsTargetController(Point)
Validate the target controller in specified point.
Declaration
public override bool IsTargetController(Point ptscreen)
Parameters
Type | Name | Description |
---|---|---|
System.Drawing.Point | ptscreen | The co ordinate point. |
Returns
Type | Description |
---|---|
System.Boolean | False. |
Overrides
IsVerticallyResizable()
Indicates the Vertically Re sizable or not.
Declaration
public bool IsVerticallyResizable()
Returns
Type | Description |
---|---|
System.Boolean | False. |
QueryController(String)
Declaration
protected override DockControllerBase QueryController(string uniqueName)
Parameters
Type | Name | Description |
---|---|---|
System.String | uniqueName |
Returns
Type |
---|
DockControllerBase |
Overrides
RedockController(DockInfo, Boolean)
Redock the controller.
Declaration
public override DockControllerBase RedockController(DockInfo di, bool bforcenew)
Parameters
Type | Name | Description |
---|---|---|
DockInfo | di | The DockInfo |
System.Boolean | bforcenew | Indicates whether it forced to new |
Returns
Type |
---|
DockControllerBase |
Overrides
Refresh()
Overrides the Refresh.
Declaration
public override void Refresh()
Overrides
UpdateControl()
Update the Control.
Declaration
public override void UpdateControl()