|
<Window
x:Class="CircularDependencyTool.AppWindow"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:local="clr-namespace:CircularDependencyTool"
Icon="app.ico"
ResizeMode="NoResize"
Title="Circular Dependency Visualizer"
Width="1100" Height="750"
WindowStartupLocation="CenterScreen"
>
<Window.DataContext>
<ObjectDataProvider
ObjectType="{x:Type local:GraphBuilder}"
MethodName="BuildGraphs"
/>
</Window.DataContext>
<Window.Resources>
<Style TargetType="{x:Type local:NodeConnector}">
<Setter Property="ArrowLength" Value="12" />
<Setter Property="Stroke" Value="Gray" />
<Setter Property="StrokeThickness" Value="3" />
<Style.Triggers>
<Trigger Property="IsPartOfCircularDependency" Value="True">
<Setter Property="Stroke" Value="DarkRed" />
</Trigger>
</Style.Triggers>
</Style>
</Window.Resources>
<!-- List of Graphs -->
<ItemsControl
HorizontalAlignment="Center"
ItemsSource="{Binding Path=., Mode=OneTime}"
VerticalAlignment="Center"
>
<ItemsControl.ItemsPanel>
<ItemsPanelTemplate>
<WrapPanel />
</ItemsPanelTemplate>
</ItemsControl.ItemsPanel>
<ItemsControl.ItemTemplate>
<DataTemplate>
<local:GraphWithDetailsView />
</DataTemplate>
</ItemsControl.ItemTemplate>
</ItemsControl>
</Window>
|
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.