TextTrimming in TextBlockVisual3D does not work
#1
In the attached screen shot, the TextTrimming property does not seem to work.  The BorderSize is set in order to allow TextTriming to work as indicated in your API docs for TextBlockVisual3D.

By the way, your documentation for TextBlockVisual3D, property TextTrimming seems to have a minor error.  Your documentation states:

"TextTrimming
Gets or sets the TextTrimming of the text. To show text trimmed in multiple lines, you need to set the BorderSize property (it should not be set to Size.Empty)."


This gives the impression that TextTrimming is used only in multi-line text.  This should be re-written as:

"Gets or sets the TextTrimming of the text. This property will have no effect if BorderSize is not set because the default behavior without BorderSize set is to adjust the size of the text to fit the allotted space.   Also, if multiple lines of text are trimmed where each line is separated by a line feed, then an ellipsis will appear on each line that exceeds the allocated space.


Attached Files Thumbnail(s)
   
  


Messages In This Thread
TextTrimming in TextBlockVisual3D does not work - by HelloSupport - 04-10-2020, 10:14 AM

Forum Jump:


Users browsing this thread:
1 Guest(s)