Reputation: 61510
In WinForms, the control focused when a label's access key is pressed is determined by the tab order. Since one has to get the tab order right anyway, the label targets were essentially "effort-free" in WinForms.
It's quite a bit more effort on WPF: each and every Label's Target must be painstakingly specified by name. It can't even be clicked on the form preview (at least not within Visual Studio 2010 - I don't know about Expression).
Can this be simplified or even completely automated, like it was in WinForms?
Upvotes: 4
Views: 300
Reputation: 136673
Seems like this one missed the release bus this time. So you need to manually set the properties on the UI elements for now.
Update: Seems like I'm confused as to your exact question.
Upvotes: 1