Collapse Expand Animation in Windows Forms GradientPanelExt

28 Apr 20211 minute to read

The collapse and expand operation in a GradientPanelExt control can be animated by setting Animated property to true. Delay in animation and the speed of animation is specified in AnimationDelay and AnimationSpeed properties.

this.gradientPanelExt1.Animated = true;
this.gradientPanelExt1.AnimationDelay = 11;
this.gradientPanelExt1.AnimationSpeed = 2;
this.gradientPanelExt1.Animated = True
this.gradientPanelExt1.AnimationDelay = 11
this.gradientPanelExt1.AnimationSpeed = 2