locked
How to get the textblock's desiredwidth right now? RRS feed

  • Question

  • Hi all,

    I have a null TextBlock, and I set the Text in cs code, then I have call the textblock's updatelayout method, in order to get the

    DesiredSize.Width, but I failed.

    So how can I get the DesiredSize after set the Text right now?

    Wednesday, December 11, 2013 7:42 AM

All replies