ZForge.Controls.ExplorerBar.Expando.ScaleCore C# (CSharp) Method

ScaleCore() protected method

Performs the work of scaling the entire control and any child controls
protected ScaleCore ( float dx, float dy ) : void
dx float The ratio by which to scale the control horizontally
dy float The ratio by which to scale the control vertically
return void
        protected override void ScaleCore(float dx, float dy)
        {
            // fix: need to adjust expanded height when scaling
            //      AndrewEames ([email protected])
            //      14/09/2005
            //      v3.3

            base.ScaleCore(dx, dy);

            this.expandedHeight = (int)(expandedHeight * dy);
        }