3 changed files with 82 additions and 46 deletions
@ -1,38 +1,73 @@
@@ -1,38 +1,73 @@
|
||||
<UserControl x:Class="ICSharpCode.CodeQualityAnalysis.Controls.TreeMatrixControl" |
||||
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" |
||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" |
||||
xmlns:Controls="clr-namespace:ICSharpCode.CodeQualityAnalysis.Controls"> |
||||
<?xml version="1.0" encoding="utf-8"?> |
||||
<UserControl |
||||
x:Class="ICSharpCode.CodeQualityAnalysis.Controls.TreeMatrixControl" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:Controls="clr-namespace:ICSharpCode.CodeQualityAnalysis.Controls"> |
||||
<UserControl.Resources> |
||||
<Style TargetType="{x:Type TreeViewItem}"> |
||||
<Setter Property="BorderBrush" Value="Red" /> |
||||
<Setter Property="Header" Value="test" /> |
||||
<Style |
||||
TargetType="{x:Type TreeViewItem}"> |
||||
<Setter |
||||
Property="BorderBrush" |
||||
Value="Red" /> |
||||
<Setter |
||||
Property="Header" |
||||
Value="test" /> |
||||
</Style> |
||||
</UserControl.Resources> |
||||
<Grid> |
||||
<Grid.RowDefinitions> |
||||
<RowDefinition Height="Auto" /> |
||||
<RowDefinition Height="*" /> |
||||
<RowDefinition |
||||
Height="Auto" /> |
||||
<RowDefinition |
||||
Height="3" /> |
||||
<RowDefinition |
||||
Height="*" /> |
||||
</Grid.RowDefinitions> |
||||
|
||||
<Grid.ColumnDefinitions> |
||||
<ColumnDefinition Width="Auto" /> |
||||
<ColumnDefinition Width="*" /> |
||||
<ColumnDefinition |
||||
Width="Auto" /> |
||||
<ColumnDefinition |
||||
Width="3" /> |
||||
<ColumnDefinition |
||||
Width="*" /> |
||||
</Grid.ColumnDefinitions> |
||||
|
||||
<TreeView Name="leftTree" Grid.Row="1" Grid.Column="0"> |
||||
<TreeView.Resources> |
||||
|
||||
</TreeView.Resources> |
||||
<TreeView |
||||
Name="leftTree" |
||||
Grid.Row="2" |
||||
Grid.Column="0"> |
||||
<TreeView.Resources></TreeView.Resources> |
||||
</TreeView> |
||||
|
||||
<GridSplitter Grid.Column="1" Width="3" |
||||
Grid.RowSpan="3" |
||||
ResizeDirection="Columns" |
||||
HorizontalAlignment="Stretch" |
||||
VerticalAlignment="Stretch"></GridSplitter> |
||||
|
||||
<TreeView Name="topTree" Grid.Row="0" Grid.Column="1"> |
||||
<TreeView |
||||
Name="topTree" |
||||
Grid.Row="0" |
||||
Grid.Column="2"> |
||||
<TreeView.LayoutTransform> |
||||
<RotateTransform Angle="-90" /> |
||||
<RotateTransform |
||||
Angle="-90" /> |
||||
</TreeView.LayoutTransform> |
||||
</TreeView> |
||||
|
||||
<ScrollViewer Grid.Column="1" Grid.Row="1" CanContentScroll="True" VerticalScrollBarVisibility="Visible" HorizontalScrollBarVisibility="Visible"> |
||||
<Controls:DependencyMatrixControl x:Name="matrixControl" /> |
||||
<GridSplitter Grid.Row="1" |
||||
Grid.Column="2" |
||||
Height="3" |
||||
ResizeDirection="Rows" |
||||
HorizontalAlignment="Stretch"></GridSplitter> |
||||
|
||||
<ScrollViewer |
||||
Grid.Column="2" |
||||
Grid.Row="2" |
||||
CanContentScroll="True" |
||||
VerticalScrollBarVisibility="Visible" |
||||
HorizontalScrollBarVisibility="Visible"> |
||||
<Controls:DependencyMatrixControl |
||||
x:Name="matrixControl" /> |
||||
</ScrollViewer> |
||||
</Grid> |
||||
</UserControl> |
Loading…
Reference in new issue