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

  • Home
  • SEARCH
  • 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 9249017
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 18, 20262026-06-18T10:05:27+00:00 2026-06-18T10:05:27+00:00

I have custom control (Numeric TextBox- which allows only numeric keys). When i am

  • 0

I have custom control (Numeric TextBox- which allows only numeric keys). When i am pressing subtract key from NumPad, it’s working fine. But when i am pressing OemMinus key(key near to ‘0’[DPad key]), OnKeyDown event returns ‘unknown’ key.

I want to handle OemMinus Key.

Thanks

  • 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-06-18T10:05:28+00:00Added an answer on June 18, 2026 at 10:05 am

    I guess that this key cannot be identified because it is platform specific. ie it only appears on Windows keyboards (as distinct from Mac keyboards). Silverlight is cross-platform.

    You should be able to identify the key using the KeyEventArgs.PlatformKeyCode property, but note that this is platform specific.

    Perhaps you can check for (e.Key == Key.Unknown && e.PlatformKeyCode == x)

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

Sidebar

Related Questions

I have a custom control which inherits from System.Web.UI.Control and some of its properties
I have custom control which is derived from PictureBox control. I wanna write a
I have a custom control that derives from TextBox. And I cannot find a
I have a custom control which displays results of some operations. It is hidden
I have a Custom Control that has multiple textbox fields and a checkbox contained
I have a custom control that inherits from UserControl , and I can't get
I have a custom control that inherits from .NET's CompositeControl class. This control overrides
I have created a custom control inheriting TextBox . This custom control is a
We have developed a custom control in monotouch (inherited from UITextField, but that shouldn't
I have custom control in wpf which change his look based on one Property:

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.