Quantcast
Channel: Silverlight Issue Tracker Rss Feed
Viewing all articles
Browse latest Browse all 801

Created Issue: "Sender" passed to PhoneTextBox.ActionIconTapped handler not very useful [9944]

$
0
0
I have a dynamically generated collection of PhoneTextBox objects that all share the same handler. The problem is that the "sender" passed to the handler is a Border object, and that cannot be used to figure out which PhoneTextBox was tapped. I've modified the PhoneTextBox.cs file to address this.

In the OnActionIconTapped() method I changed
handler(sender, e);

to
handler(this, e);

I'm not sure if this is a bug fix or a suggestion, but intuitively, this is how things should work.

Viewing all articles
Browse latest Browse all 801

Trending Articles