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