代码如下 <ScrollViewer Name="svfavorite" VerticalScrollBarVisibility="Auto" HorizontalScrollBarVisibility="Auto">
<StackPanel Orientation="Vertical" Width="Auto" Height="Auto">
<TreeView x:Name="_folderTree" Background="Transparent" Height="Auto" Margin="0,0,0,10" BorderBrush="Transparent" BorderThickness="0">
</TreeView>
<TreeView x:Name="_remoteTree" Background="Transparent" Height="Auto" Margin="0,0,0,2" Visibility="Collapsed" BorderBrush="Transparent" BorderThickness="0">
</TreeView>
</StackPanel>
</ScrollViewer>
在一个用户控件里放置了2个TreeView 垂直顺数放置。 当用户控件中的内容超过面板大小时,滚动条会自动出现 ,但是只有当鼠标指示在右边滚动条的那一条位置时,才支持鼠标滚轴滚动。 点在控件内部时 滚轴无效。请问有人遇到过着问题 没有
<StackPanel Orientation="Vertical" Width="Auto" Height="Auto">
<TreeView x:Name="_folderTree" Background="Transparent" Height="Auto" Margin="0,0,0,10" BorderBrush="Transparent" BorderThickness="0">
</TreeView>
<TreeView x:Name="_remoteTree" Background="Transparent" Height="Auto" Margin="0,0,0,2" Visibility="Collapsed" BorderBrush="Transparent" BorderThickness="0">
</TreeView>
</StackPanel>
</ScrollViewer>
在一个用户控件里放置了2个TreeView 垂直顺数放置。 当用户控件中的内容超过面板大小时,滚动条会自动出现 ,但是只有当鼠标指示在右边滚动条的那一条位置时,才支持鼠标滚轴滚动。 点在控件内部时 滚轴无效。请问有人遇到过着问题 没有
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货