how to calculate the textbock height and width in on load if i create textblock from code?

Call Measure() then Arrange() and then ActualWidth and ActualHeight will be updated.

Leave a Comment