Click here to Skip to main content
15,885,278 members
Home / Discussions / WPF
   

WPF

 
GeneralRe: Global.asax in Silverlight? Pin
Mark Salsbery12-Feb-09 14:23
Mark Salsbery12-Feb-09 14:23 
GeneralRe: Global.asax in Silverlight? Pin
devvvy13-Feb-09 21:24
devvvy13-Feb-09 21:24 
GeneralRe: Global.asax in Silverlight? Pin
Braulio Dez13-Mar-09 6:24
Braulio Dez13-Mar-09 6:24 
GeneralRe: Global.asax in Silverlight? Pin
devvvy13-Mar-09 14:33
devvvy13-Mar-09 14:33 
QuestionHow to get an Obejct from WPF ListBox?? Pin
saku6912-Feb-09 3:41
saku6912-Feb-09 3:41 
AnswerRe: How to get an Obejct from WPF ListBox?? Pin
ABitSmart12-Feb-09 15:53
ABitSmart12-Feb-09 15:53 
GeneralRe: How to get an Obejct from WPF ListBox?? Pin
saku6912-Feb-09 17:42
saku6912-Feb-09 17:42 
GeneralRe: How to get an Obejct from WPF ListBox?? Pin
ABitSmart12-Feb-09 17:51
ABitSmart12-Feb-09 17:51 
saku69 wrote:
contains custom objecs.

What is the type of the custom object ? Because when you bind to the List that would be the object you would getting as the SelectedItem. You would have to cast the SelectedItem based on that type.
e.g.
CustomObject selObject = ((sender as ListBox).SelectedItem) as CustomObject;



saku69 wrote:
What does lbSearchResults.SelectedItem show on the click handler ?

I meant, when you debug it using a breakpoint in the click method what is the value showing for lbSearchResults.SelectedItem ? This should tell you which object is actually being returned as the SelectedItem.
GeneralRe: How to get an Obejct from WPF ListBox?? Pin
saku6913-Feb-09 2:30
saku6913-Feb-09 2:30 
GeneralRe: How to get an Obejct from WPF ListBox?? Pin
ABitSmart13-Feb-09 2:36
ABitSmart13-Feb-09 2:36 
QuestionRe: How to get an Obejct from WPF ListBox?? [modified] Pin
saku6915-Feb-09 18:07
saku6915-Feb-09 18:07 
AnswerRe: How to get an Obejct from WPF ListBox?? Pin
ABitSmart15-Feb-09 21:54
ABitSmart15-Feb-09 21:54 
QuestionPost msg. to/from MFC app.? Pin
Michael Pauli12-Feb-09 2:17
Michael Pauli12-Feb-09 2:17 
AnswerRe: Post msg. to/from MFC app.? Pin
Mark Salsbery12-Feb-09 9:30
Mark Salsbery12-Feb-09 9:30 
GeneralRe: Post msg. to/from MFC app.? [modified] Pin
sivaddrahcir18-Feb-09 9:59
sivaddrahcir18-Feb-09 9:59 
QuestionTesting Event on Custom WPF Control Pin
Jammer12-Feb-09 1:24
Jammer12-Feb-09 1:24 
AnswerRe: Testing Event on Custom WPF Control Pin
ABitSmart12-Feb-09 16:11
ABitSmart12-Feb-09 16:11 
GeneralRe: Testing Event on Custom WPF Control Pin
Jammer13-Feb-09 2:31
Jammer13-Feb-09 2:31 
GeneralRe: Testing Event on Custom WPF Control [modified] Pin
Calin Tatar13-Feb-09 5:13
Calin Tatar13-Feb-09 5:13 
GeneralRe: Testing Event on Custom WPF Control Pin
Jammer13-Feb-09 6:38
Jammer13-Feb-09 6:38 
Question[Message Deleted] Pin
S.Neela11-Feb-09 23:50
S.Neela11-Feb-09 23:50 
QuestionRe: WPF - Setting the SelectedValue in a binded combobox on loading a window or usercontrol Pin
Mark Salsbery12-Feb-09 10:15
Mark Salsbery12-Feb-09 10:15 
QuestionListView problem Pin
Xaverria11-Feb-09 21:53
Xaverria11-Feb-09 21:53 
AnswerRe: ListView problem Pin
ABitSmart12-Feb-09 16:51
ABitSmart12-Feb-09 16:51 
QuestionSilverlight, WPF WBA and ASP.NET [modified] Pin
devvvy11-Feb-09 20:37
devvvy11-Feb-09 20:37 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.