Advertisement
Guest User

Untitled

a guest
Mar 20th, 2018
72
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.72 KB | None | 0 0
  1. <Window x:Class="AleksanderSadaj.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:AleksanderSadaj"
  7. mc:Ignorable="d"
  8. Title="MainWindow" Height="350" Width="525">
  9. <Grid>
  10. <Grid.RowDefinitions>
  11. <RowDefinition Height="1*" />
  12. <RowDefinition Height="5*" />
  13. <RowDefinition Height="1*" />
  14. </Grid.RowDefinitions>
  15. <Grid Grid.Row="1">
  16. <Grid.ColumnDefinitions>
  17. <ColumnDefinition Name="Left" Width="1*"/>
  18. <ColumnDefinition Name="Right" Width="1*"/>
  19. </Grid.ColumnDefinitions>
  20. <ListBox
  21. x:Name="listBox"
  22. HorizontalAlignment="Left"
  23. Height="100"
  24. VerticalAlignment="Top"
  25. Width="100"
  26. >
  27. <ListBox.ItemTemplate>
  28. <DataTemplate>
  29. <Grid Margin="0,2">
  30. <Grid.RowDefinitions>
  31. <RowDefinition Height="*" />
  32. </Grid.RowDefinitions>
  33. <TextBlock Text="{Binding Title}" />
  34. <ProgressBar Grid.Column="1" Minimum="0" Maximum="100" Value="{Binding Completion}" />
  35. </Grid>
  36. </DataTemplate>
  37. </ListBox.ItemTemplate>
  38. </ListBox>
  39. </Grid>
  40. </Grid>
  41. </Window>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement