How to setup InputBindings in the modal window? I can't do through the style because InputBindings is not a DependencyProperty.
<Window.InputBindings>
<KeyBinding Key="A"
Modifiers="Control"
Command="Close" />
</Window.InputBindings>
Can't do this:<Style x:Key="WindowRegionStyle" TargetType="Window">
<Setter Property="Width" Value="{Binding Content.Width, RelativeSource={RelativeSource Self}}" />
<Setter Property="Height" Value="{Binding Content.Height, RelativeSource={RelativeSource Self}}" />
<Setter Property="WindowStyle" Value="None"/>
<Setter Property="ResizeMode" Value="NoResize"/>
<Setter Property="ShowInTaskbar" Value="False"/>
<Setter Property="InputBindings"></Setter>
</Style>