C# WPF - ScrollViewer + TextBlock troubles
I have a TextBlock within a ScrollViewer that aligns with stretch to its window. I need the TextBlock to behave as the following: Resizes with window, no scrollbars When resized below a certain width the TextBlock needs to keep a MinWidth and scrollbars should appear TextWrapping or TextTrimming should work appropriately How can I get this functionality? I have tried several ways, involving bindings to ActualWidth & ActualHeight , but can't get it to work. This can't be that difficult, what am I missing? Here is a code sample to put in XamlPad (no MinWidth is set yet): <Window xmlns="http:/