File tree Expand file tree Collapse file tree 1 file changed +15
-10
lines changed Expand file tree Collapse file tree 1 file changed +15
-10
lines changed Original file line number Diff line number Diff line change 2
2
x : Class =" Files.Dialogs.ConfirmDeleteDialog"
3
3
xmlns =" http://schemas.microsoft.com/winfx/2006/xaml/presentation"
4
4
xmlns : x =" http://schemas.microsoft.com/winfx/2006/xaml"
5
+ xmlns : converters =" using:Files.Converters"
5
6
xmlns : d =" http://schemas.microsoft.com/expression/blend/2008"
6
7
xmlns : local1 =" using:Files"
7
8
xmlns : local2 =" using:Files.Helpers"
8
9
xmlns : mc =" http://schemas.openxmlformats.org/markup-compatibility/2006"
9
- xmlns : converters =" using:Files.Converters"
10
10
x : Uid =" ConfirmDeleteDialog"
11
11
Title =" Delete Item(s)"
12
12
CornerRadius =" 4"
13
- mc : Ignorable = " d "
14
- RequestedTheme = " {x:Bind local2:ThemeHelper.RootTheme} " >
13
+ RequestedTheme = " {x:Bind local2:ThemeHelper.RootTheme} "
14
+ mc : Ignorable = " d " >
15
15
<ContentDialog .Resources>
16
16
<converters : StorageDeleteOptionToBooleanConverter x : Key =" StorageDeleteOptionToBooleanConverter" />
17
17
</ContentDialog .Resources>
41
41
Orientation =" Horizontal"
42
42
Spacing =" 10" >
43
43
44
- <Button
45
- x : Name =" btnCancel"
46
- x : Uid =" ConfirmDeleteDialogCancelButton"
47
- Click =" btnCancel_Click"
48
- Content =" Cancel" />
49
-
50
44
<Button
51
45
x : Name =" btnDelete"
52
46
x : Uid =" ConfirmDeleteDialogDeleteButton"
53
47
Background =" {ThemeResource SystemAccentColor}"
54
48
Click =" btnDelete_Click"
55
49
Content =" Delete"
56
- TabIndex =" 0" />
50
+ TabIndex =" 0" >
51
+ <Button .KeyboardAccelerators>
52
+ <KeyboardAccelerator Key =" Enter" />
53
+ <KeyboardAccelerator Key =" Space" />
54
+ </Button .KeyboardAccelerators>
55
+ </Button >
56
+
57
+ <Button
58
+ x : Name =" btnCancel"
59
+ x : Uid =" ConfirmDeleteDialogCancelButton"
60
+ Click =" btnCancel_Click"
61
+ Content =" Cancel" />
57
62
</StackPanel >
58
63
</Grid >
59
64
</ContentDialog >
You can’t perform that action at this time.
0 commit comments