Syncfusion.Tools.Windows
Example 


AnimationStep Field

Gets/Sets the step size of autohide animation.It can be used to control the speed of animation
Syntax
'Declaration
 
<BrowsableAttribute(False)>
Public Shared AnimationStep As Integer
'Usage
 
Dim value As Integer
 
value = DockingManager.AnimationStep
 
DockingManager.AnimationStep = value
[Browsable(false)]
public static int AnimationStep

Field Value

An integer value specifying step size.Default is 25
Example
This example describes how to prevent the animation when we hide controls
private void dockingManager1_AutoHideAnimationStart(object sender, Syncfusion.Windows.Forms.Tools.AutoHideAnimationEventArgs arg)
{
    if (arg.DockBorder == DockStyle.Left || arg.DockBorder == DockStyle.Right)
        Syncfusion.Windows.Forms.Tools.DockingManager.AnimationStep = arg.Bounds.Width;
    else
        Syncfusion.Windows.Forms.Tools.DockingManager.AnimationStep = arg.Bounds.Height;
}
Private Sub DockingManager1_AutoHideAnimationStart(ByVal sender As System.Object, ByVal arg As Syncfusion.Windows.Forms.Tools.AutoHideAnimationEventArgs) Handles DockingManager1.AutoHideAnimationStart
     If (arg.DockBorder = DockStyle.Left Or arg.DockBorder = DockStyle.Right) Then
         Syncfusion.Windows.Forms.Tools.DockingManager.AnimationStep = arg.Bounds.Width
     Else
         Syncfusion.Windows.Forms.Tools.DockingManager.AnimationStep = arg.Bounds.Height
     End If
End Sub
AssemblyVersion

Syncfusion.Tools.Windows: 17.4460.0.39

See Also