Advertisement
Guest User

Untitled

a guest
Apr 21st, 2017
81
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.56 KB | None | 0 0
  1.  
  2. <Grid Name="parent" Background="#FFF4F4F5" HorizontalAlignment="Left" Height="60" Margin="465,170,0,0" VerticalAlignment="Top" Width="60">
  3. <Border BorderBrush="Black" BorderThickness="1" />
  4. <Grid Name="strikeOne" Visibility="{Binding Strikes[0], UpdateSourceTrigger=PropertyChanged}">
  5. <Line X1="0" Y1="0" X2="{Binding ElementName='parent', Path='ActualWidth'}" Y2="{Binding ElementName='parent', Path='ActualHeight'}" Stroke="Red" StrokeThickness="4" />
  6. <Line X1="0" Y1="{Binding ElementName='parent', Path='ActualHeight'}" X2="{Binding ElementName='parent', Path='ActualWidth'}" Y2="0" Stroke="Red" StrokeThickness="4" />
  7. </Grid>
  8. </Grid>
  9.  
  10. <Grid Background="#FFF4F4F5" HorizontalAlignment="Left" Height="60" Margin="543,170,0,0" VerticalAlignment="Top" Width="60">
  11. <Border BorderBrush="Black" BorderThickness="1" />
  12. <Grid Name="strikeTwo" Visibility="{Binding Strikes[1], UpdateSourceTrigger=PropertyChanged}">
  13. <Line X1="0" Y1="0" X2="{Binding ElementName='parent', Path='ActualWidth'}" Y2="{Binding ElementName='parent', Path='ActualHeight'}" Stroke="Red" StrokeThickness="4" />
  14. <Line X1="0" Y1="{Binding ElementName='parent', Path='ActualHeight'}" X2="{Binding ElementName='parent', Path='ActualWidth'}" Y2="0" Stroke="Red" StrokeThickness="4" />
  15. </Grid>
  16. </Grid>
  17.  
  18. <Grid Background="#FFF4F4F5" HorizontalAlignment="Left" Height="60" Margin="621,170,0,0" VerticalAlignment="Top" Width="60">
  19. <Border BorderBrush="Black" BorderThickness="1" />
  20. <Grid Name="strikeThree" Visibility="{Binding Strikes[2], UpdateSourceTrigger=PropertyChanged}">
  21. <Line X1="0" Y1="0" X2="{Binding ElementName='parent', Path='ActualWidth'}" Y2="{Binding ElementName='parent', Path='ActualHeight'}" Stroke="Red" StrokeThickness="4" />
  22. <Line X1="0" Y1="{Binding ElementName='parent', Path='ActualHeight'}" X2="{Binding ElementName='parent', Path='ActualWidth'}" Y2="0" Stroke="Red" StrokeThickness="4" />
  23. </Grid>
  24. </Grid>
  25.  
  26. <Grid Background="#FFF4F4F5" HorizontalAlignment="Left" Height="60" Margin="699,170,0,0" VerticalAlignment="Top" Width="60">
  27. <Border BorderBrush="Black" BorderThickness="1" />
  28. <Grid Name="strikeFour" Visibility="{Binding Strikes[3], UpdateSourceTrigger=PropertyChanged}">
  29. <Line X1="0" Y1="0" X2="{Binding ElementName='parent', Path='ActualWidth'}" Y2="{Binding ElementName='parent', Path='ActualHeight'}" Stroke="Red" StrokeThickness="4" />
  30. <Line X1="0" Y1="{Binding ElementName='parent', Path='ActualHeight'}" X2="{Binding ElementName='parent', Path='ActualWidth'}" Y2="0" Stroke="Red" StrokeThickness="4" />
  31. </Grid>
  32. </Grid>
  33.  
  34. <Grid Background="#FFF4F4F5" HorizontalAlignment="Left" Height="60" Margin="777,170,0,0" VerticalAlignment="Top" Width="60">
  35. <Border BorderBrush="Black" BorderThickness="1" />
  36. <Grid Name="strikeFive" Visibility="{Binding Strikes[4], UpdateSourceTrigger=PropertyChanged}">
  37. <Line X1="0" Y1="0" X2="{Binding ElementName='parent', Path='ActualWidth'}" Y2="{Binding ElementName='parent', Path='ActualHeight'}" Stroke="Red" StrokeThickness="4" />
  38. <Line X1="0" Y1="{Binding ElementName='parent', Path='ActualHeight'}" X2="{Binding ElementName='parent', Path='ActualWidth'}" Y2="0" Stroke="Red" StrokeThickness="4" />
  39. </Grid>
  40. </Grid>
  41.  
  42. <Grid Background="#FFF4F4F5" HorizontalAlignment="Left" Height="60" Margin="855,170,0,0" VerticalAlignment="Top" Width="60">
  43. <Border BorderBrush="Black" BorderThickness="1" />
  44. <Grid Name="strikeSix" Visibility="{Binding Strikes[5], UpdateSourceTrigger=PropertyChanged}">
  45. <Line X1="0" Y1="0" X2="{Binding ElementName='parent', Path='ActualWidth'}" Y2="{Binding ElementName='parent', Path='ActualHeight'}" Stroke="Red" StrokeThickness="4" />
  46. <Line X1="0" Y1="{Binding ElementName='parent', Path='ActualHeight'}" X2="{Binding ElementName='parent', Path='ActualWidth'}" Y2="0" Stroke="Red" StrokeThickness="4" />
  47. </Grid>
  48. </Grid>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement