Advertisement
Guest User

Untitled

a guest
May 7th, 2016
262
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.63 KB | None | 0 0
  1. <Window x:Class="Graf.MainWindow"
  2. xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  3. xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  4. xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  5. xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  6. xmlns:local="clr-namespace:Graf"
  7. mc:Ignorable="d"
  8. xmlns:graphsharp="clr-namespace:GraphSharp.Controls;assembly=GraphSharp.Controls"
  9. xmlns:zoom="clr-namespace:WPFExtensions.Controls;assembly=WPFExtensions"
  10.  
  11. Title="MainWindow"
  12. x:Name="root">
  13. <Grid>
  14. <Grid.ColumnDefinitions>
  15. <ColumnDefinition Width="157*"/>
  16. <ColumnDefinition Width="39*"/>
  17. <ColumnDefinition Width="322*"/>
  18. </Grid.ColumnDefinitions>
  19.  
  20. <graphsharp:GraphLayout x:Name="graphLayout"
  21. Graph="{Binding ElementName=root,Path=GraphToVisualize}"
  22. LayoutAlgorithmType="FR"
  23. OverlapRemovalAlgorithmType="FSA"
  24. HighlightAlgorithmType="Simple" Grid.ColumnSpan="3" RenderTransformOrigin="1,0.978">
  25. <Button x:Name="button" Content="Dodaj wierzchołek" RenderTransformOrigin="0.786,1.864" Margin="318,232,-319,-232" Click="button_Click"/>
  26. <TextBox x:Name="textBox" TextWrapping="Wrap" Text="" HorizontalAlignment="Left" Width="52" Margin="261,232,-261,-232.08" TextChanged="textBox_TextChanged" RenderTransformOrigin="0.5,0.502"/>
  27. </graphsharp:GraphLayout>
  28.  
  29.  
  30.  
  31. </Grid>
  32. </Window>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement