1 <Window x:Class="Pithos.Client.WPF.FileProperties.ContainerPropertiesView"
2 xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
3 xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
4 Title="ContainerPropertiesView" Height="300" Width="300"
5 Background="#FFD4D0C8">
8 <ResourceDictionary.MergedDictionaries>
9 <ResourceDictionary Source="..\PithosStyles.xaml" />
10 </ResourceDictionary.MergedDictionaries>
15 <RowDefinition Height="Auto"/>
16 <RowDefinition Height="Auto"/>
17 <RowDefinition Height="*"/>
18 <RowDefinition Height="Auto"/>
19 </Grid.RowDefinitions>
20 <Grid Grid.Row="0" Margin="5">
21 <Grid.ColumnDefinitions>
22 <ColumnDefinition Width="Auto"/>
23 <ColumnDefinition Width="*"/>
24 <ColumnDefinition Width="Auto"/>
25 </Grid.ColumnDefinitions>
26 <Image x:Name="FileIcon" Margin="5" Grid.Column="0" Stretch="None" Source="/Pithos.Client.WPF;component/Images/Container.png" />
27 <TextBlock x:Name="ContainerName" Margin="5" Grid.Column="1" Text="Container Name" FontSize="16" FontWeight="Bold"/>
28 <TextBlock x:Name="ShortSize" Margin="5" Text="345 KB" FontWeight="Bold" FontSize="14" Grid.Column="2" />
30 <GroupBox Header="General" Grid.Row="1" Margin="5">
33 <Style x:Key="NameColumnStyle" TargetType="TextBlock">
34 <Setter Property="HorizontalAlignment" Value="Right"/>
35 <Setter Property="Margin" Value="5,2"/>
37 <Style x:Key="ValueColumnStyle" TargetType="TextBlock">
38 <Setter Property="HorizontalAlignment" Value="Left"/>
39 <Setter Property="Margin" Value="5,2"/>
42 <Grid.ColumnDefinitions>
43 <ColumnDefinition Width="Auto" />
44 <ColumnDefinition Width="*"/>
45 </Grid.ColumnDefinitions>
53 </Grid.RowDefinitions>
54 <TextBlock Text="Count :" Grid.Row="0" Grid.Column="0" Style="{StaticResource ResourceKey=NameColumnStyle}"/>
55 <TextBlock Text="Size :" Grid.Row="1" Grid.Column="0" Style="{StaticResource ResourceKey=NameColumnStyle}"/>
56 <TextBlock Text="Modified :" Grid.Row="3" Grid.Column="0" Style="{StaticResource ResourceKey=NameColumnStyle}"/>
57 <TextBlock Text="Block Size :" Grid.Row="4" Grid.Column="0" Style="{StaticResource ResourceKey=NameColumnStyle}"/>
58 <TextBlock Text="Block Hash :" Grid.Row="5" Grid.Column="0" Style="{StaticResource ResourceKey=NameColumnStyle}"/>
59 <TextBlock x:Name="Count" Text="123" Grid.Row="0" Grid.Column="1" Style="{StaticResource ResourceKey=ValueColumnStyle}"/>
60 <TextBlock x:Name="Size" Text="345 KB (345,332 bytes)" Grid.Row="1" Grid.Column="1" Style="{StaticResource ResourceKey=ValueColumnStyle}"/>
61 <TextBlock x:Name="Modified" Text="28/10/2011 11:34 AM" Grid.Row="3" Grid.Column="1" Style="{StaticResource ResourceKey=ValueColumnStyle}"/>
62 <TextBlock x:Name="BlockSize" Text="4012354486" Grid.Row="4" Grid.Column="1" Style="{StaticResource ResourceKey=ValueColumnStyle}"/>
63 <TextBlock x:Name="BlockHash" Text="2345456" Grid.Row="5" Grid.Column="1" Style="{StaticResource ResourceKey=ValueColumnStyle}"/>
67 <StackPanel Orientation="Horizontal" Grid.Row="3" HorizontalAlignment="Right">
68 <Button Name="SaveChanges" Content="OK" Margin="5,5,10,5" Style="{StaticResource ButtonStyle}"/>
69 <Button Name="RejectChanges" Content="Cancel" Margin="5,5,10,5" Style="{StaticResource ButtonStyle}"/>
70 <Button Name="ApplyChanges" Content="Apply" Style="{StaticResource ButtonStyle}" />