Esempio n. 1
0
        protected override float ComputeContentHeight()
        {
            ignoreUpdate = true;

            // todo -- might need to subtract padding / border from this value
            float retn = textInfo.ComputeHeightForWidth(finalWidth);

            ignoreUpdate = false;

            return(retn);
        }