Class AutoHideAnimationEventArgs
Custom event argument class used for notifying users of the start/stop of an autohide animation.
Inherited Members
Namespace: Syncfusion.Windows.Forms.Tools
Assembly: Syncfusion.Tools.Windows.dll
Syntax
public class AutoHideAnimationEventArgs : DockControlEventArgs
Remarks
The AutoHideAnimationEventArgs class is used by the DockingManager to provide event data for the AutoHideAnimationStart and AutoHideAnimationStop events.
Constructors
AutoHideAnimationEventArgs(Control, DockStyle, Rectangle)
Creates a new instance of the AutoHideAnimationEventArgs class.
Declaration
public AutoHideAnimationEventArgs(Control ctrl, DockStyle border, Rectangle bounds)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.Forms.Control | ctrl | The control undergoing the autohide animation. |
System.Windows.Forms.DockStyle | border | The dock style of the control. |
System.Drawing.Rectangle | bounds | The bounds of the control. |
AutoHideAnimationEventArgs(Control, DockStyle, Rectangle, AutoHideRollState)
Initializes a new instance of the AutoHideAnimationEventArgs class.
Declaration
public AutoHideAnimationEventArgs(Control ctrl, DockStyle border, Rectangle bounds, AutoHideRollState state)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.Forms.Control | ctrl | The control undergoing the autohide animation. |
System.Windows.Forms.DockStyle | border | The dock style of the control. |
System.Drawing.Rectangle | bounds | The bounds of the control. |
AutoHideRollState | state | The autohide roll state. |
Fields
dsBorder
Declaration
protected DockStyle dsBorder
Field Value
Type |
---|
System.Windows.Forms.DockStyle |
rcBounds
Declaration
protected Rectangle rcBounds
Field Value
Type |
---|
System.Drawing.Rectangle |
state
Declaration
protected AutoHideRollState state
Field Value
Type |
---|
AutoHideRollState |
Properties
Bounds
Gets / sets the display bounds of the autohidden control.
Declaration
public Rectangle Bounds { get; set; }
Property Value
Type | Description |
---|---|
System.Drawing.Rectangle | A System.Drawing.Rectangle value. |
DockBorder
Returns the HostForm border along which the AutoHide tab is aligned.
Declaration
public DockStyle DockBorder { get; }
Property Value
Type | Description |
---|---|
System.Windows.Forms.DockStyle | A System.Windows.Forms.DockStyle value. |
RollState
Indicates the roll state of the autohidden control.
Declaration
public AutoHideRollState RollState { get; set; }
Property Value
Type |
---|
AutoHideRollState |