windows phone 7 - Pickerboxdialog Customizing -
so, i'm attempting use this:
http://blogs.msdn.com/b/priozersk/archive/2010/09/17/customizing-picker-box-dialog.aspx
however, want normal pickerboxdialog (just text) i'd attach id it, can reference selection user picked. however, after building own class pass in, still cannot text display (ie @ all) within pickerbox.
does have experience? copied code , still no luck...
if want normal picker box shouldn't have worry customizing template (unless want display id too).
the way reference object selected user in closed event handler:
void dialog_closed(object sender, eventargs e) { var picker = (pickerboxdialog)sender; var selected = (yourcustomobject)picker.selecteditem; }
in other words shouldn't need id of selected object because can reference select object directly.
Comments
Post a Comment