Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6077955
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T10:46:45+00:00 2026-05-23T10:46:45+00:00

I am trying to do a to map Ctrl + Shift + 0 with

  • 0

I am trying to do a to map Ctrl+Shift+0 with WPF 3.5sp1, but the binding does not fire. The XAML I’m using is:

<KeyBinding Gesture="Ctrl+Shift+D0" Command="Blah"/>

I have also tried:

<KeyBinding Key="D0" Modifiers="Ctrl+Shift" Command="Blah" />

And many other combinations, none of which work. Gesture=”Ctrl+D0″ works great, or “Ctrl+Shift+OemPlus”, etc. so I don’t think my syntax is the issue. I have looked at the Key enum and tried to see if “Shift-D0” is remapped into something like “OemParen” but nothing is jumping out at me.

I’ve even put a PreviewKeyDown handler on my Window, and I never see a KeyEvent where Key == D0 and Keyboard.ModifierKeys == Shift + Ctrl! In fact, the D0 keydown never arrives at all when I am holding down Ctrl+Shift.

public MainWindow()
{
    InitializeComponent();
    this.PreviewKeyDown += MainWindow_PreviewKeyDown;
}

void MainWindow_PreviewKeyDown(object sender, KeyEventArgs e)
{
    if ((Keyboard.Modifiers & ModifierKeys.Shift) != 0)
    {
        Trace.WriteLine("shift is down!");
    }
    Trace.WriteLine(string.Format("key: {0}, system key: {1}, modifiers {2}", e.Key, e.SystemKey, e.KeyStates));
}
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-23T10:46:45+00:00Added an answer on May 23, 2026 at 10:46 am

    I’ve discovered the problem. The culprit is an Internationalization change made in Vista (that Win7 inherits) related to how keyboard layouts are changed. There is a KB topic discussing this issue and work arounds:

    Input method editor keyboard shortcut (CTRL+SHIFT+0) switches the input language in Vista

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm trying to map a @ManyToMany association using hibernate. But so far I only
I'm trying to map two objects to each other using a ManyToMany association, but
I am trying to define a mapping for Ctrl + . as follows: map
Trying to map the following schema using the Entity Framework. A Customer can have
I'm trying to map a struct definition using ctypes: struct attrl { struct attrl
I am trying to map several tables using Fluent Nhibernate. My tests are giving
I am trying to map a method in a Controller using the annotation with
I'm trying to map one object to another but the object is quite complex.
I am trying to map a JPA (using Hibernate) one-to-one relationship with a inheritance
I am trying to map a TreeView to a collection using the HierarchicalDataTemplate. The

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.