27
27
28
28
<Grid
29
29
Height =" 32"
30
+ Padding =" 8,0"
30
31
HorizontalAlignment =" Stretch"
31
- Background =" {ThemeResource StatusBarBackgroundBrush}" >
32
+ VerticalAlignment =" Stretch"
33
+ Background =" {ThemeResource StatusBarBackgroundBrush}"
34
+ ColumnSpacing =" 12" >
32
35
<Grid .ColumnDefinitions>
36
+ <ColumnDefinition Width =" Auto" />
37
+ <ColumnDefinition Width =" Auto" />
38
+ <ColumnDefinition Width =" Auto" />
33
39
<ColumnDefinition Width =" *" />
34
40
<ColumnDefinition Width =" Auto" />
35
41
</Grid .ColumnDefinitions>
36
42
43
+ <TextBlock
44
+ x : Name =" DirectoryItemCount"
45
+ Grid.Column=" 0"
46
+ VerticalAlignment =" Center"
47
+ x : Load =" {x:Bind ShowInfoText, Mode=OneWay}"
48
+ Text =" {x:Bind DirectoryPropertiesViewModel.DirectoryItemCount, Mode=OneWay}" />
49
+ <TextBlock
50
+ x : Name =" SelectedItemsCountString"
51
+ Grid.Column=" 1"
52
+ VerticalAlignment =" Center"
53
+ x : Load =" {x:Bind ShowInfoText, Mode=OneWay}"
54
+ Text =" {x:Bind SelectedItemsPropertiesViewModel.SelectedItemsCountString, Mode=OneWay}"
55
+ Visibility =" {x:Bind SelectedItemsPropertiesViewModel.IsItemSelected, Mode=OneWay}" />
56
+ <TextBlock
57
+ x : Name =" ItemSize"
58
+ Grid.Column=" 2"
59
+ VerticalAlignment =" Center"
60
+ x : Load =" {x:Bind ShowInfoText, Mode=OneWay}"
61
+ Text =" {x:Bind SelectedItemsPropertiesViewModel.ItemSize, Mode=OneWay}"
62
+ Visibility =" {x:Bind SelectedItemsPropertiesViewModel.IsItemSelected, Mode=OneWay}" />
63
+
64
+ <Button
65
+ x : Name =" FullTrustStatus"
66
+ Grid.Column=" 4"
67
+ Width =" 32"
68
+ Height =" 32"
69
+ VerticalAlignment =" Center"
70
+ x : Load =" {x:Bind MainViewModel.IsFullTrustElevated, Mode=OneWay}"
71
+ AccessKey =" M"
72
+ Background =" Transparent"
73
+ Click =" FullTrustStatus_Click"
74
+ FontSize =" 16"
75
+ Style =" {StaticResource ToolBarButtonStyle}" >
76
+ <FontIcon FontSize =" 14" Glyph ="  " />
77
+ </Button >
78
+
37
79
<muxc : TeachingTip
38
80
x : Name =" FullTrustStatusTeachingTip"
39
81
x : Uid =" FullTrustStatusTeachingTip"
40
82
Title =" Administrator"
83
+ Grid.ColumnSpan=" 5"
41
84
Subtitle =" Files is running as administrator"
42
85
Target =" {x:Bind FullTrustStatus}"
43
86
Visibility =" Collapsed" />
44
-
45
- <StackPanel
46
- x : Name =" SelectionDirectoryInformationPanel"
47
- Margin =" 8,0"
48
- VerticalAlignment =" Center"
49
- x : Load =" {x:Bind ShowInfoText, Mode=OneWay}"
50
- Orientation =" Horizontal"
51
- Spacing =" 12" >
52
- <TextBlock Text =" {x:Bind DirectoryPropertiesViewModel.DirectoryItemCount, Mode=OneWay}" />
53
- <TextBlock Text =" {x:Bind SelectedItemsPropertiesViewModel.SelectedItemsCountString, Mode=OneWay}" Visibility =" {x:Bind SelectedItemsPropertiesViewModel.IsItemSelected, Mode=OneWay}" />
54
- <TextBlock Text =" {x:Bind SelectedItemsPropertiesViewModel.ItemSize, Mode=OneWay}" Visibility =" {x:Bind SelectedItemsPropertiesViewModel.IsItemSelected, Mode=OneWay}" />
55
- </StackPanel >
56
-
57
- <StackPanel
58
- Grid.Column=" 1"
59
- Padding =" 0,0,2,0"
60
- HorizontalAlignment =" Right"
61
- Orientation =" Horizontal"
62
- Spacing =" 4" >
63
-
64
- <Button
65
- x : Name =" FullTrustStatus"
66
- Width =" 32"
67
- Height =" 32"
68
- x : Load =" {x:Bind MainViewModel.IsFullTrustElevated, Mode=OneWay}"
69
- AccessKey =" M"
70
- Background =" Transparent"
71
- Click =" FullTrustStatus_Click"
72
- FontSize =" 16"
73
- Style =" {StaticResource ToolBarButtonStyle}" >
74
- <FontIcon FontSize =" 14" Glyph ="  " />
75
- </Button >
76
- </StackPanel >
77
87
</Grid >
78
88
</UserControl >
0 commit comments