We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4b185ee commit 7f29b40Copy full SHA for 7f29b40
RetailCoder.VBE/UI/Settings/SettingsControl.xaml
@@ -8,6 +8,10 @@
8
mc:Ignorable="d"
9
d:DesignHeight="300" d:DesignWidth="600"
10
d:DataContext="{d:DesignInstance {x:Type settings:SettingsControlViewModel}, IsDesignTimeCreatable=False}">
11
+ <UserControl.InputBindings>
12
+ <KeyBinding Key="Esc"
13
+ Command="{Binding CancelButtonCommand}" />
14
+ </UserControl.InputBindings>
15
<UserControl.Resources>
16
<converters:SettingsViewToPageConverter x:Key="SettingsViewToPage" />
17
@@ -157,7 +161,8 @@
157
161
Height="20"
158
162
Margin="5,0"
159
163
Padding="10,0"
160
- Command="{Binding CancelButtonCommand}" />
164
+ Command="{Binding CancelButtonCommand}">
165
+ </Button>
166
</Grid>
167
</DockPanel>
168
</Border>
0 commit comments