|
|
@ -31,7 +31,39 @@ |
|
|
|
ShowRoot="False" |
|
|
|
ShowRoot="False" |
|
|
|
AllowDropOrder="True" |
|
|
|
AllowDropOrder="True" |
|
|
|
AllowDrop="True" |
|
|
|
AllowDrop="True" |
|
|
|
BorderThickness="0" Visibility="Visible" /> |
|
|
|
BorderThickness="0" Visibility="Visible"> |
|
|
|
|
|
|
|
<tv:SharpTreeView.ItemContainerStyle> |
|
|
|
|
|
|
|
<Style TargetType="tv:SharpTreeViewItem"> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<Setter Property="Template"> |
|
|
|
|
|
|
|
<Setter.Value> |
|
|
|
|
|
|
|
<ControlTemplate TargetType="{x:Type tv:SharpTreeViewItem}"> |
|
|
|
|
|
|
|
<Border Background="Transparent"> |
|
|
|
|
|
|
|
<Border Background="{TemplateBinding Background}"> |
|
|
|
|
|
|
|
<tv:SharpTreeNodeView x:Name="nodeView" HorizontalAlignment="Left" /> |
|
|
|
|
|
|
|
</Border> |
|
|
|
|
|
|
|
</Border> |
|
|
|
|
|
|
|
<ControlTemplate.Triggers> |
|
|
|
|
|
|
|
<DataTrigger Binding="{Binding IsAutoLoaded}" Value="True"> |
|
|
|
|
|
|
|
<Setter Property="Foreground" Value="SteelBlue" /> |
|
|
|
|
|
|
|
</DataTrigger> |
|
|
|
|
|
|
|
<DataTrigger Binding="{Binding IsPublicAPI}" Value="False"> |
|
|
|
|
|
|
|
<Setter Property="Foreground" Value="{DynamicResource {x:Static SystemColors.GrayTextBrushKey}}" /> |
|
|
|
|
|
|
|
</DataTrigger> |
|
|
|
|
|
|
|
<Trigger Property="IsSelected" Value="True"> |
|
|
|
|
|
|
|
<Setter TargetName="nodeView" Property="TextBackground" Value="{DynamicResource {x:Static SystemColors.HighlightBrushKey}}" /> |
|
|
|
|
|
|
|
<Setter TargetName="nodeView" Property="Foreground" Value="{DynamicResource {x:Static SystemColors.HighlightTextBrushKey}}" /> |
|
|
|
|
|
|
|
</Trigger> |
|
|
|
|
|
|
|
<Trigger Property="IsEnabled" Value="False"> |
|
|
|
|
|
|
|
<Setter TargetName="nodeView" Property="Foreground" Value="{DynamicResource {x:Static SystemColors.GrayTextBrushKey}}" /> |
|
|
|
|
|
|
|
</Trigger> |
|
|
|
|
|
|
|
</ControlTemplate.Triggers> |
|
|
|
|
|
|
|
</ControlTemplate> |
|
|
|
|
|
|
|
</Setter.Value> |
|
|
|
|
|
|
|
</Setter> |
|
|
|
|
|
|
|
</Style> |
|
|
|
|
|
|
|
</tv:SharpTreeView.ItemContainerStyle> |
|
|
|
|
|
|
|
</tv:SharpTreeView> |
|
|
|
|
|
|
|
|
|
|
|
<DataTemplate x:Key="AssemblyListPaneTemplate"> |
|
|
|
<DataTemplate x:Key="AssemblyListPaneTemplate"> |
|
|
|
<ContentControl Content="{StaticResource AssemblyTreeView}" /> |
|
|
|
<ContentControl Content="{StaticResource AssemblyTreeView}" /> |
|
|
|