Hi,
When outlookbar is minimized and i click on it, it shows Selected Item. I have Radtree in it, But since list is pretty long , it does not display every item. How do i add VerticalScrollBar to it ? It can be seen in the image attached here.
May be is there any way to access width property of MinimizedContent Toggle Button!
0
Accepted
Martin Ivanov
Telerik team
answered on 08 May 2014, 11:13 AM
Hello Ishita,
The RadOutlookBar doesn't have a property which controls the height (or width) of the popup of the MinimizedButton. However, in order to show a scroll you can wrap the RadTreeView in a ScrollViewer and set its MaxHeight property. Note that if you want the ScrollViewer to be styled corresponding to the applied theme you will need to base the scroll's style to the theme. Otherwise the scroll viewer will use the default Windows styles. Here is an example in code for this approach:
Another approach could be to extract the ControlTemplate of the OutlookBar and set MaxHeight on the Popup of the MinimizedButton. You can see how to extract control templates in the Editing Control Templates help article.
Regards,
Martin
Telerik
Check out Telerik Analytics, the service which allows developers to discover app usage patterns, analyze user data, log exceptions, solve problems and profile application performance at run time. Watch the videos and start improving your app based on facts, not hunches.