Question

TreeListBox items horizontal scrolling

Posted 6 months ago by Avatar Hagay

Hi,

 

Is there a way to disable the horizontal-scroller of the TreeListBox?

 

My intention is that items that exceed the boundaries of the TreeListBox will be cropped.

However, ideally, because my items present text only, I'd like to have '...' at the end of the presented text and the entire text in a tooltip.

Is there a good way to achieve that with your control and its facilities?

 

Thanks in advance!


Comments (2)

Posted 6 months ago by Actipro Software Support - Cleveland, OH, USA

Hello,

What if you set the ScrollViewer.HorizontalScrollBarVisibility attached property on TreeListBox to Disabled?

And if you use the AdvancedTextBlock class in our Shared Library in place of a TextBlock in your item DataTemplate, it will automatically show ellipses and show a tooltip when needed for overflow.


Actipro Software Support
Posted 6 months ago by Hagay

Just Perfect!!!

Thanks allot :)

Information The latest build of this product (2018.1 build 0671) was released 1 month ago, which was after the last post in this thread.

Add a Comment

Please log in to a validated account to post comments.