Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
ListView height inside of a StackPanel - problem...
Message
From
20/06/2008 13:11:48
 
 
To
20/06/2008 13:06:51
General information
Forum:
ASP.NET
Category:
Windows Presentation Foundation (WPF)
Miscellaneous
Thread ID:
01325263
Message ID:
01325808
Views:
12
>You recommended:
>
>
> dataitem d = (dataitem)e.AddedItems[0];
>
>
>
>But, this assumes the id is the FIRST element, right, or that I must know whatever element it is?
>
>See my recent (new) WPF post on setting SelectedValuePath in XAML and using SelectedValue in code, to see if that is a good way?

With the mode set to single there will only ever be one item selected. So index 0 will always be correct.

It's AddedItems to the selected collection not added items to the listView.
Previous
Reply
Map
View

Click here to load this message in the networking platform