c# - WPF Text Trimming -


I am using WPF's TextBlock to run text animation I translateTransform Doing so by setting the .x to -which Wide to realwid .

Everything is fine, but there is one small problem: Text in TextBlock.Text has been trimmed to fit the initial size window.

  & lt; TextBlock x: name = "txtRunning" TextWrapping = "Novop" Vertical Element = "Center" TextTerming = "Word Elephase" Text = "Very Long Text Here ..." & gt;  

I tried to set: TextTrimming = "WordEllipsis" but it was trimmed from three points (...).

I would like to know how I can change these three points with full text (no missing texts).

I am interrupting the size of my TextBlock with my original container . It should be wrapped in a canvas and let it move forward from the right edge of the window and you should give the scrolling banner effect. This should only be necessary changes; You will still apply animated transforms directly to TextBlock .

On the one hand, TextOptions has some attributes that you want to see if you drag animated text like, TextHintingMode .


Comments

Popular posts from this blog

winforms - C# Form - Property Change -

javascript - amcharts makechart not working -

java - Algorithm negotiation fail SSH in Jenkins -