Skip to content

Adding Keyboard Shortcut to Controls in WPF: “_” instead of “&”

December 3, 2007

This is one of the things that is different in WPF due to Xaml/XML considerations…perhaps VS2008 & Expression Blend could ease the transition by detecting the entry of "&" into the Content property?

Internal email…please read from bottom.

From: MS Employee #2
Using ‘&’ in XAML would require typing & due to XML syntax.

From: MS Employee #1
Sent: Sunday, December 02, 2007 1:52 AM
Subject: _ vs. &

I spent about a day figuring out a way to add keyboard shortcut to my WPF button – in winforms/vb for all these years it was a simple & before the char u want to use as a shortcut key – wonder why was the & changed to a _ in wpf???

From → WPF

2 Comments
  1. Unknown permalink

    welcome  to visit   RF online blog   Mmo blog  Mmo guide blog   Internet game guide  
    Tales of pirates forum

    EVE online isk EVE isk Guild wars gold Guild wars money GW gold Runescape gold Wow gold 
    World of warcraft World of warcraft gold Wow eu gold Wow us gold Maple story gold WOW GOLD 
    World of warcraft  World of warcraft gold Runescape RS gold RF online RF online cp RF online dalant 
    RF online disena  RF online money RF online gold Lotro gold Buy lotro gold Cheap wow gold WOW gold

  2. Unknown permalink

    Welcome to enter (wow gold) and (wow power leveling) trading site, (Rolex) are cheap, (World of Warcraft gold) credibility Very good! Quickly into the next single! Key words directly to the website click on transactions! -144703412789306

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: