添加项目文件。
This commit is contained in:
13
SamplePreSystem.UI/Styles/BaseTreeView.xaml
Normal file
13
SamplePreSystem.UI/Styles/BaseTreeView.xaml
Normal file
@@ -0,0 +1,13 @@
|
||||
<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
|
||||
|
||||
|
||||
<!-- 仅针对字体、间距的TreeView极简美化样式 -->
|
||||
<Style TargetType="TreeView">
|
||||
<!-- TreeView整体内边距:避免控件紧贴窗口 -->
|
||||
<Setter Property="Padding" Value="8" />
|
||||
<!-- 整体背景:白色更清爽 -->
|
||||
<Setter Property="Background" Value="White" />
|
||||
<!-- 滚动条优化:避免文字被遮挡 -->
|
||||
<Setter Property="ScrollViewer.HorizontalScrollBarVisibility" Value="Auto" />
|
||||
</Style>
|
||||
</ResourceDictionary>
|
||||
Reference in New Issue
Block a user