|
|
|
|
@ -3,6 +3,25 @@
@@ -3,6 +3,25 @@
|
|
|
|
|
xmlns:tv="http://icsharpcode.net/sharpdevelop/treeview" |
|
|
|
|
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" |
|
|
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"> |
|
|
|
|
<UserControl.Resources> |
|
|
|
|
<Style TargetType="{x:Type ToolTip}"> |
|
|
|
|
<!-- http://www.mycsharp.de/wbb2/thread.php?postid=318921--> |
|
|
|
|
<Setter Property="OverridesDefaultStyle" Value="true"/> |
|
|
|
|
<Setter Property="VerticalOffset" Value="-50" /> |
|
|
|
|
<Setter Property="HorizontalOffset" Value="20" /> |
|
|
|
|
<Setter Property="Placement" Value="MousePoint" /> |
|
|
|
|
<Setter Property="Template"> |
|
|
|
|
<Setter.Value> |
|
|
|
|
<ControlTemplate TargetType="{x:Type ToolTip}"> |
|
|
|
|
<Grid Name="Border" Background="Transparent" Width="{TemplateBinding Width}" Height="Auto"> |
|
|
|
|
<Border BorderBrush ="Black" CornerRadius="5" BorderThickness="2" Background="WhiteSmoke"></Border> |
|
|
|
|
<ContentPresenter Margin="10,10,10,10" HorizontalAlignment="Center" VerticalAlignment="Center" TextBlock.Foreground="Black" TextBlock.FontSize="12" /> |
|
|
|
|
</Grid> |
|
|
|
|
</ControlTemplate> |
|
|
|
|
</Setter.Value> |
|
|
|
|
</Setter> |
|
|
|
|
</Style> |
|
|
|
|
</UserControl.Resources> |
|
|
|
|
<Grid> |
|
|
|
|
<Grid.RowDefinitions> |
|
|
|
|
<RowDefinition Height="1*" /> |
|
|
|
|
@ -26,7 +45,7 @@
@@ -26,7 +45,7 @@
|
|
|
|
|
ScrollViewer.VerticalScrollBarVisibility="Hidden" |
|
|
|
|
MouseMove="TopTreeMouseMove" |
|
|
|
|
ScrollViewer.ScrollChanged="ViewScrollChanged"> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<tv:SharpTreeView.LayoutTransform> |
|
|
|
|
<RotateTransform Angle="-90"/> |
|
|
|
|
</tv:SharpTreeView.LayoutTransform> |
|
|
|
|
@ -61,7 +80,24 @@
@@ -61,7 +80,24 @@
|
|
|
|
|
Grid.Row="2" Grid.Column="2" |
|
|
|
|
CanContentScroll="True" |
|
|
|
|
ScrollChanged="ViewScrollChanged"> |
|
|
|
|
<gui:DependencyMatrixControl x:Name="matrix" HoveredCellChanged="MatrixHoveredCellChanged" /> |
|
|
|
|
|
|
|
|
|
<gui:DependencyMatrixControl x:Name="matrix" |
|
|
|
|
HoveredCellChanged="MatrixHoveredCellChanged"> |
|
|
|
|
<!-- |
|
|
|
|
<gui:DependencyMatrixControl.ToolTip > |
|
|
|
|
<Border Margin="-4,0,-4,-3" Padding="10" Background="Red" |
|
|
|
|
ToolTipService.ShowOnDisabled="True" |
|
|
|
|
ToolTipService.Placement="MousePoint" |
|
|
|
|
ToolTipService.HorizontalOffset="10" |
|
|
|
|
> |
|
|
|
|
<Border.BitmapEffect> |
|
|
|
|
<OuterGlowBitmapEffect></OuterGlowBitmapEffect> |
|
|
|
|
</Border.BitmapEffect> |
|
|
|
|
</Border> |
|
|
|
|
|
|
|
|
|
</gui:DependencyMatrixControl.ToolTip> |
|
|
|
|
--> |
|
|
|
|
</gui:DependencyMatrixControl> |
|
|
|
|
</ScrollViewer> |
|
|
|
|
</Grid> |
|
|
|
|
</UserControl> |