ARCed.UI.VS2005DockPaneCaption.MeasureHeight C# (CSharp) Méthode

MeasureHeight() protected méthode

protected MeasureHeight ( ) : int
Résultat int
        protected internal override int MeasureHeight()
        {
            int height = this.TextFont.Height + TextGapTop + TextGapBottom;

            if (height < this.ButtonClose.Image.Height + ButtonGapTop + ButtonGapBottom)
                height = this.ButtonClose.Image.Height + ButtonGapTop + ButtonGapBottom;

            return height;
        }