Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <Window x:Class="AleksanderSadaj.MainWindow"
- xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
- xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
- xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
- xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
- xmlns:local="clr-namespace:AleksanderSadaj"
- mc:Ignorable="d"
- Title="MainWindow" Height="350" Width="525">
- <Grid>
- <Grid.RowDefinitions>
- <RowDefinition Height="1*" />
- <RowDefinition Height="5*" />
- <RowDefinition Height="1*" />
- </Grid.RowDefinitions>
- <Grid Grid.Row="1">
- <Grid.ColumnDefinitions>
- <ColumnDefinition Name="Left" Width="1*"/>
- <ColumnDefinition Name="Right" Width="1*"/>
- </Grid.ColumnDefinitions>
- <ListBox
- x:Name="listBox"
- HorizontalAlignment="Left"
- Height="100"
- VerticalAlignment="Top"
- Width="100"
- >
- <ListBox.ItemTemplate>
- <DataTemplate>
- <Grid Margin="0,2">
- <Grid.RowDefinitions>
- <RowDefinition Height="*" />
- </Grid.RowDefinitions>
- <TextBlock Text="{Binding Title}" />
- <ProgressBar Grid.Column="1" Minimum="0" Maximum="100" Value="{Binding Completion}" />
- </Grid>
- </DataTemplate>
- </ListBox.ItemTemplate>
- </ListBox>
- </Grid>
- </Grid>
- </Window>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement