Is there a way to ALWAYS show scrollbars for the XamTree?
Hi,
you can set scrollbar visibility like that:
<ig:XamTree ScrollViewer.HorizontalScrollBarVisibility="Visible" ScrollViewer.VerticalScrollBarVisibility="Visible"...
How do I apply custom style to XamTree scroll-bar?
If you want to change the style of the scrollbars you have to retemplate the XamTree and set style on the ScrollViewer used in the ControlTemplate.
You can use Blend to style the control - https://ko.infragistics.com/help/wpf/xamdatagrid-designing-the-look-and-feel
Or if you do not have blend you can use the generic.xaml file of the control - https://ko.infragistics.com/help/wpf/designersguide-location-of-generic-xaml-file
If I have globally defined scroll bar x:key name 'scrl', how do I apply this globally defined scrollbar style here.
How do I set the scrollbar visibility in the code behind? I am not seeing a property for this...
You can set the scrollbar visibility in code behind using the following snippet:
xwTree.SetValue( ScrollViewer.HorizontalScrollBarVisibilityProperty, ScrollBarVisibility.Visible);xwTree.SetValue( ScrollViewer.VerticalScrollBarVisibilityProperty, ScrollBarVisibility.Visible);
where xwTree is a XamTree reference.