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