Hi,
thanks for your reply.
Your sample works just fine. But when I adapt my XAML accordingly, the scrollbars still don't appear. Any idea what I am missing?
Here's my XAML:
<UserControl
x:Class="November.Audite.Player.Views.FileSystemLibraryView"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:local="using:November.Audite.Player.Views"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:navigation="using:Syncfusion.UI.Xaml.Controls.Navigation"
xmlns:primitives="using:Syncfusion.UI.Xaml.Primitives"
mc:Ignorable="d"
d:DesignHeight="300"
d:DesignWidth="400">
<UserControl.Resources>
<Style TargetType="navigation:TreeNavigatorItemsHost">
<Setter Property="Template">
<Setter.Value>
<ControlTemplate TargetType="navigation:TreeNavigatorItemsHost">
<Grid>
<Border
Background="{TemplateBinding Background}"
BorderBrush="{TemplateBinding BorderBrush}"
BorderThickness="{TemplateBinding BorderThickness}">
<Grid>
<ScrollViewer VerticalScrollBarVisibility="Auto">
<ItemsPresenter Grid.Row="1"/>
</ScrollViewer>
</Grid>
</Border>
</Grid>
</ControlTemplate>
</Setter.Value>
</Setter>
</Style>
</UserControl.Resources>
<StackPanel Background="{ThemeResource ApplicationPageBackgroundThemeBrush}">
<navigation:SfTreeNavigator NavigationMode="Extended" ItemsSource="{Binding Nodes}" ScrollViewer.VerticalScrollBarVisibility="Hidden">
<navigation:SfTreeNavigator.ItemTemplate>
<primitives:HierarchicalDataTemplate ItemsSource="{Binding Children}">
<DataTemplate>
<TextBlock Text="{Binding Name}" />
</DataTemplate>
</primitives:HierarchicalDataTemplate>
</navigation:SfTreeNavigator.ItemTemplate>
</navigation:SfTreeNavigator>
</StackPanel>
</UserControl>
Also, as another question, how can I avoid the scrollbars hiding the small arrows on the right side? (They do that in your sample.)
Many thanks,
Max Hajek