|
22 | 22 | <ColumnDefinition Width="Auto"/>
|
23 | 23 | <ColumnDefinition Width="*"/>
|
24 | 24 | </Grid.ColumnDefinitions>
|
25 |
| - <Image Margin="15,15" Grid.Column="0" Width="45" Height="45" Name="itemIcon" /> |
26 |
| - <TextBox CornerRadius="2" BorderThickness="1" Padding="10,4" Name="itemFileName" PlaceholderText="Item Name" VerticalAlignment="Center" Grid.Column="1" Margin="0,0,15,0" /> |
| 25 | + <Image Margin="15,15" Grid.Column="0" Width="45" Height="45" Name="itemIcon" Source="{x:Bind Item.FileImg,Mode=OneWay}" /> |
| 26 | + <TextBox CornerRadius="2" BorderThickness="1" Padding="10,4" Name="itemFileName" Text="{x:Bind Item.FileName,Mode=OneWay}" PlaceholderText="Item Name" VerticalAlignment="Center" Grid.Column="1" Margin="0,0,15,0" /> |
27 | 27 | </Grid>
|
28 | 28 | <MenuFlyoutSeparator HorizontalAlignment="Stretch" Margin="-10,0,-10,0"/>
|
29 | 29 | <StackPanel Padding="0,10" Spacing="24" Orientation="Horizontal">
|
30 | 30 | <TextBlock Text="Item type:"/>
|
31 |
| - <TextBlock Name="itemType" /> |
| 31 | + <TextBlock Name="itemType" Text="{x:Bind Item.FileType,Mode=OneWay}" /> |
32 | 32 | </StackPanel>
|
33 | 33 | <StackPanel Padding="0,10" Spacing="24" Orientation="Horizontal">
|
34 | 34 | <TextBlock Text="Path:"/>
|
35 |
| - <TextBlock Name="itemPath" /> |
| 35 | + <TextBlock Name="itemPath" Text="{x:Bind Item.FilePath,Mode=OneWay}" /> |
36 | 36 | </StackPanel>
|
37 | 37 | <StackPanel Padding="0,10" Spacing="24" Orientation="Horizontal">
|
38 | 38 | <TextBlock Text="Item size:"/>
|
39 |
| - <TextBlock Name="itemSize" /> |
| 39 | + <TextBlock Name="itemSize" Text="{x:Bind Item.FileSize,Mode=OneWay}" /> |
40 | 40 | </StackPanel>
|
41 | 41 | <MenuFlyoutSeparator Margin="-10,0,-10,0"/>
|
42 | 42 | <StackPanel Padding="0,10" Spacing="24" Orientation="Horizontal">
|
43 | 43 | <TextBlock Text="Created:"/>
|
44 |
| - <TextBlock Name="itemCreatedTimestamp" /> |
| 44 | + <TextBlock Name="itemCreatedTimestamp" Text="{x:Bind Item.FileDate,Mode=OneWay}" /> |
45 | 45 | </StackPanel>
|
46 | 46 | <StackPanel Padding="0,10" Spacing="24" Orientation="Horizontal">
|
47 | 47 | <TextBlock Text="Modified:"/>
|
48 |
| - <TextBlock Name="itemModifiedTimestamp" /> |
| 48 | + <TextBlock Name="itemModifiedTimestamp" Text="{x:Bind Item.FileDate,Mode=OneWay}"/> |
49 | 49 | </StackPanel>
|
50 | 50 | </StackPanel>
|
51 | 51 |
|
52 | 52 | <StackPanel Spacing="5" Padding="0,10" Orientation="Horizontal" Grid.Row="1" HorizontalAlignment="Center">
|
53 | 53 | <Button Content="OK" Foreground="White" Background="#FF0078D7" CornerRadius="2" Width="128" VerticalAlignment="Stretch" HorizontalAlignment="Stretch" Click="Button_Click"/>
|
54 |
| - <Button Content="Apply" CornerRadius="2" Width="128" VerticalAlignment="Stretch" HorizontalAlignment="Stretch"/> |
55 |
| - <Button Content="Cancel" CornerRadius="2" Width="128" VerticalAlignment="Stretch" HorizontalAlignment="Stretch"/> |
| 54 | + <Button Content="Apply" CornerRadius="2" Width="128" VerticalAlignment="Stretch" HorizontalAlignment="Stretch" Click="Button_Click"/> |
| 55 | + <Button Content="Cancel" CornerRadius="2" Width="128" VerticalAlignment="Stretch" HorizontalAlignment="Stretch" Click="Button_Click"/> |
56 | 56 | </StackPanel>
|
57 | 57 | </Grid>
|
58 | 58 | </Page>
|
0 commit comments