Click here to Skip to main content
15,915,019 members
Home / Discussions / WPF
   

WPF

 
GeneralRe: Combobox in Listview Pin
ABitSmart19-Feb-09 22:48
ABitSmart19-Feb-09 22:48 
GeneralRe: Combobox in Listview Pin
Rolorob19-Feb-09 23:01
Rolorob19-Feb-09 23:01 
GeneralRe: Combobox in Listview Pin
ABitSmart19-Feb-09 23:10
ABitSmart19-Feb-09 23:10 
GeneralRe: Combobox in Listview Pin
Rolorob19-Feb-09 23:17
Rolorob19-Feb-09 23:17 
GeneralRe: Combobox in Listview Pin
ABitSmart19-Feb-09 23:51
ABitSmart19-Feb-09 23:51 
GeneralRe: Combobox in Listview [modified] Pin
Rolorob20-Feb-09 0:21
Rolorob20-Feb-09 0:21 
GeneralRe: Combobox in Listview Pin
Rolorob20-Feb-09 1:55
Rolorob20-Feb-09 1:55 
GeneralRe: Combobox in Listview Pin
ABitSmart20-Feb-09 2:15
ABitSmart20-Feb-09 2:15 
I get a better picture of what you are stuck into. You have to take some more time to design this bugger Smile | :)

The working sample just had a single order displayed. If I understand correct, the problem is when you try to display all the orders together in a DataGrid form. Is that correct ?

You can create a CLR object of customer data. Create a resource in the Window resources,
<local:Customers x:Key="CustomerList"/>
where Customers is CLR object; a collection of Customer information.

Then bind it to the ComboBox inside the ListView, "{Binding Source={StaticResource CustomerList}"
Now, the combobox will have a different datasource than the ListView. But then you will have to handle the combobox selection change etc. in code behind.


I was trying to devise something more concrete.
GeneralRe: Combobox in Listview Pin
Rolorob20-Feb-09 2:28
Rolorob20-Feb-09 2:28 
GeneralRe: Combobox in Listview Pin
ABitSmart20-Feb-09 2:37
ABitSmart20-Feb-09 2:37 
GeneralRe: Combobox in Listview Pin
Rolorob20-Feb-09 2:39
Rolorob20-Feb-09 2:39 
GeneralRe: Combobox in Listview Pin
Rolorob20-Feb-09 3:12
Rolorob20-Feb-09 3:12 
GeneralRe: Combobox in Listview Pin
ABitSmart20-Feb-09 3:16
ABitSmart20-Feb-09 3:16 
GeneralRe: Combobox in Listview Pin
Rolorob20-Feb-09 3:48
Rolorob20-Feb-09 3:48 
GeneralRe: Combobox in Listview Pin
ABitSmart20-Feb-09 4:04
ABitSmart20-Feb-09 4:04 
GeneralRe: Combobox in Listview Pin
Rolorob20-Feb-09 6:10
Rolorob20-Feb-09 6:10 
GeneralRe: Combobox in Listview Pin
ABitSmart21-Feb-09 2:42
ABitSmart21-Feb-09 2:42 
GeneralRe: Combobox in Listview Pin
mavifirar21-Feb-09 10:43
mavifirar21-Feb-09 10:43 
QuestionWPF and MVVM pattern question Pin
babongita18-Feb-09 8:14
babongita18-Feb-09 8:14 
AnswerRe: WPF and MVVM pattern question Pin
Pete O'Hanlon18-Feb-09 8:44
mvePete O'Hanlon18-Feb-09 8:44 
GeneralRe: WPF and MVVM pattern question Pin
babongita18-Feb-09 8:59
babongita18-Feb-09 8:59 
GeneralRe: WPF and MVVM pattern question Pin
Pete O'Hanlon18-Feb-09 9:09
mvePete O'Hanlon18-Feb-09 9:09 
GeneralRe: WPF and MVVM pattern question Pin
babongita18-Feb-09 10:02
babongita18-Feb-09 10:02 
GeneralRe: WPF and MVVM pattern question Pin
Pete O'Hanlon18-Feb-09 10:16
mvePete O'Hanlon18-Feb-09 10:16 
GeneralRe: WPF and MVVM pattern question Pin
Pete O'Hanlon19-Feb-09 21:52
mvePete O'Hanlon19-Feb-09 21:52 

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.