Xceed Docking Windows for WinForms v2.3 Documentation
Xceed.DockingWindows Namespace / AutoHideFrameAppearance Class / AnimationDuration Property


In This Topic
    AnimationDuration Property
    In This Topic
    Gets or sets a value indicating the time it takes, in milliseconds, to show or hide auto hide ToolWindows.
    Syntax
    'Declaration
     
    <DescriptionAttribute("Indicates the time it takes, in milliseconds, to show or hide auto hide ToolWindows")>
    <CategoryAttribute("Behavior")>
    Public Property AnimationDuration As Integer
    'Usage
     
    Dim instance As AutoHideFrameAppearance
    Dim value As Integer
     
    instance.AnimationDuration = value
     
    value = instance.AnimationDuration
    [Description("Indicates the time it takes, in milliseconds, to show or hide auto hide ToolWindows")]
    [Category("Behavior")]
    public int AnimationDuration {get; set;}

    Property Value

    A value representing the time it takes, in milliseconds, to show or hide auto hide ToolWindows. By default, 150 milliseconds.
    Remarks

    If AnimationDuration is set to 0, the ToolWindow will be shown and hidden without animation. The ShowHideDelay property indicates, in milliseconds, the length of time the mouse must hover over an auto hide ToolWindow's tab before the animation to show the ToolWindow begins, as well as the length of time before the animation to hide an auto hide ToolWindow begins when the mouse leaves the ToolWindow.

    To reset the value of the AnimationDuration property to its default value, the ResetAnimationDuration method must be called.

    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also