Extension Methods from Matthias Glauch
-
Calculates the visual size of a string if it would be displayed on the screen, i.e. as the text of a TextBlock.
-
Uses the VisualTreeHelper in a WPF application to find a child of the type FrameworkElement by its name recursively.