提交 1b949315 编写于 作者: cdy816's avatar cdy816

Bug 修改

上级 884710cd
......@@ -296,7 +296,7 @@
</TreeView.InputBindings>
<TreeView.Resources>
<Style TargetType="{x:Type TreeViewItem}" >
<!--<Style TargetType="{x:Type TreeViewItem}" >
<Setter Property="TreeViewItem.IsExpanded" Value="{Binding IsExpanded, Mode=TwoWay}" />
<Setter Property="TreeViewItem.IsSelected" Value="{Binding IsSelected, Mode=TwoWay}" />
<Setter Property="Control.FontWeight" Value="Normal" />
......@@ -304,7 +304,7 @@
<Setter Property="HorizontalContentAlignment" Value="{Binding HorizontalContentAlignment, RelativeSource={RelativeSource AncestorType={x:Type ItemsControl}}}"/>
<Setter Property="VerticalContentAlignment" Value="{Binding VerticalContentAlignment, RelativeSource={RelativeSource AncestorType={x:Type ItemsControl}}}"/>
<Setter Property="Padding" Value="1,0,0,0"/>
</Style>
</Style>-->
<ContextMenu x:Key="groupMenu">
<MenuItem Header="{local:ResMarker Add}" Command="{Binding AddCommand}" />
......
......@@ -447,6 +447,8 @@
<Setter Property="Padding" Value="1,0,0,0"/>
<Setter Property="Foreground" Value="{DynamicResource Window.Forground}"/>
<Setter Property="FocusVisualStyle" Value="{StaticResource TreeViewItemFocusVisual}"/>
<Setter Property="IsExpanded" Value="{Binding IsExpanded, Mode=TwoWay}" />
<Setter Property="IsSelected" Value="{Binding IsSelected, Mode=TwoWay}" />
<Setter Property="Template">
<Setter.Value>
<ControlTemplate TargetType="{x:Type TreeViewItem}">
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册