WPF TextBlock Overflow Text to the Left -
As a backdrop, I have a very long identity which is too long to be displayed in the given area of the text block. The interesting part of the ID is the end, this is the right part.
What I would like to do, instead of moving the text upwards, the text box, and cutting the right part, left the overflow and
This is by default as compared to the 1234 .
I can manually trim my ID for display, but a variable space font that is not ideal. So, there is no way to change the WPF overflow direction?
Is this effect you are trying to take? It looks like:
& lt; Page xmlns = "http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns: x = "http: // schemos microsoft.com/winfx/2006/xaml"> & Lt; Stackpackel width = "200" & gt; & Lt; Textbox background = "honey" horizontal alignment = "right" & gt; Quick brown fox jumped on the back of the lazy dog & lt; / TextBlock & gt; & Lt; / StackPanel & gt; & Lt; / Page & gt;