File tree Expand file tree Collapse file tree 1 file changed +10
-1
lines changed
Rubberduck.Core/UI/Controls Expand file tree Collapse file tree 1 file changed +10
-1
lines changed Original file line number Diff line number Diff line change 24
24
Panel.ZIndex=" 2"
25
25
VerticalContentAlignment =" Center"
26
26
Width =" Auto"
27
- Grid.Row=" 0" Grid.Column=" 0" />
27
+ Grid.Row=" 0" Grid.Column=" 0" >
28
+ <TextBox .InputBindings>
29
+ <KeyBinding Command =" {Binding Path=ClearSearchCommand}" Key =" Esc" />
30
+ </TextBox .InputBindings>
31
+ </TextBox >
28
32
<!-- this is the actual hint container, it's BELOW the displaying control -->
29
33
<TextBox Text =" {Binding Path=Hint, ElementName=Root, Mode=OneWay}"
30
34
Background =" {Binding Path=Background, ElementName=Root}"
44
48
</Style .Triggers>
45
49
</Style >
46
50
</TextBox .Style>
51
+ <TextBox .InputBindings>
52
+ <KeyBinding Key =" Esc"
53
+ Modifiers =" Control"
54
+ Command =" {Binding ClearSearchCommand}" />
55
+ </TextBox .InputBindings>
47
56
</TextBox >
48
57
<Button Name =" SearchButton" Grid.Column=" 1" Command =" {Binding ClearSearchCommand}"
49
58
BorderBrush =" {x:Static SystemColors.ControlLightBrush}"
You can’t perform that action at this time.
0 commit comments