ZForge.Controls.ExplorerBar.Expando.ScaleCore C# (CSharp) 메소드

ScaleCore() 보호된 메소드

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
리턴 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);
        }