I have a couple of TextBlocks in a Fixed Size Column Grid. i.e. The Grid size might change, but its column widths are all the same (e.g. 10% of the whole size) and each column contains a TextBlock.
The font size of all the TextBlocks MUST be the same.
How can I find the maximum possible font size which makes all the texts inside TextBlocks visible?
You could use Graphics.MeasureString Method (String, Font, Int32) to calculate the fontsize.
Then use some behaviour magic to bind the font size to the TextBlock.