ZForge.Controls.ExplorerBar.Expando.EndUpdate C# (CSharp) Méthode

EndUpdate() public méthode

Resumes drawing of the Expando after drawing is suspended by the BeginUpdate method
public EndUpdate ( ) : void
Résultat void
        public void EndUpdate()
        {
            this.beginUpdateCount = Math.Max(--this.beginUpdateCount, 0);

            if (beginUpdateCount == 0)
            {
                if (this.slideAnimationBatched)
                {
                    this.slideAnimationBatched = false;

                    if (this.Animate && this.AutoLayout)
                    {
                        if (this.animationHelper != null)
                        {
                            this.animationHelper.Dispose();
                            this.animationHelper = null;
                        }

                        this.animationHelper = new AnimationHelper(this, AnimationHelper.SlideAnimation);

                        this.animationHelper.StartAnimation();
                    }
                    else
                    {
                        this.DoLayout(true);
                    }
                }
                else
                {
                    this.DoLayout(true);
                }
            }
        }