Click here to Skip to main content
15,890,882 members
Home / Discussions / WPF
   

WPF

 
GeneralRe: Math in XAML Pin
Mc_Topaz2-Aug-11 6:22
Mc_Topaz2-Aug-11 6:22 
AnswerRe: Math in XAML Pin
Pete O'Hanlon2-Aug-11 6:08
mvePete O'Hanlon2-Aug-11 6:08 
GeneralRe: Math in XAML Pin
Mc_Topaz2-Aug-11 6:40
Mc_Topaz2-Aug-11 6:40 
GeneralRe: Math in XAML Pin
SledgeHammer012-Aug-11 7:22
SledgeHammer012-Aug-11 7:22 
QuestionClient side validation Pin
yesu prakash1-Aug-11 20:14
yesu prakash1-Aug-11 20:14 
AnswerRe: Client side validation Pin
Mycroft Holmes4-Aug-11 13:07
professionalMycroft Holmes4-Aug-11 13:07 
QuestionDistance Calculate Of A Route Pin
mrhydn1-Aug-11 3:44
mrhydn1-Aug-11 3:44 
QuestionGrid in a combo box [modified] Pin
Lutosław31-Jul-11 2:57
Lutosław31-Jul-11 2:57 
Hello again!

I have searched for it but couldn't find an apropriate solution.

I have a list of objects, and I want to arrange them in rows, but still allowing user to select any individual item. For example:
list = { a1, a2,a3,b1,b2,b3}

In a combobox I would like to see:
[   ]V
a1  a2  a3
b1  b2  b3

Items in a combobox are enumeration members and value of a combobox should be bound.
User can select any value from the list. Moreover, items a2,b2,c2,... (that is, when index%3==1) should appear in bold (extra feature).

I have tried to set a List<List<MyClass>> as a datasource, but in that case user would be able to set a whole row and not individual items. Such behaviour is unacceptable.

How to accomplish this?

Thanks in advance,
Greetings - Jacek
modified on Sunday, July 31, 2011 6:56 PM

AnswerRe: Grid in a combo box Pin
teejayem31-Jul-11 6:42
teejayem31-Jul-11 6:42 
GeneralRe: Grid in a combo box Pin
Lutosław1-Aug-11 13:14
Lutosław1-Aug-11 13:14 
GeneralRe: Grid in a combo box Pin
SledgeHammer011-Aug-11 14:05
SledgeHammer011-Aug-11 14:05 
GeneralRe: Grid in a combo box [solved] Pin
Lutosław1-Aug-11 22:57
Lutosław1-Aug-11 22:57 
GeneralRe: Grid in a combo box [solved] Pin
SledgeHammer012-Aug-11 7:20
SledgeHammer012-Aug-11 7:20 
GeneralRe: Grid in a combo box [solved] Pin
Lutosław2-Aug-11 8:52
Lutosław2-Aug-11 8:52 
GeneralRe: Grid in a combo box Pin
SledgeHammer011-Aug-11 14:05
SledgeHammer011-Aug-11 14:05 
QuestionBinding: Accept an empty string in enumeration [modified] Pin
Lutosław30-Jul-11 10:24
Lutosław30-Jul-11 10:24 
AnswerRe: Binding: Accept an empty string in enumeration Pin
teejayem30-Jul-11 12:23
teejayem30-Jul-11 12:23 
GeneralRe: Binding: Accept an empty string in enumeration Pin
Lutosław31-Jul-11 1:16
Lutosław31-Jul-11 1:16 
QuestionProblem with WPF and calling a WCF Web Service Pin
AndyCSharp29-Jul-11 5:54
AndyCSharp29-Jul-11 5:54 
AnswerRe: Problem with WPF and calling a WCF Web Service Pin
ToddHileHoffer29-Jul-11 7:46
ToddHileHoffer29-Jul-11 7:46 
QuestionListBox control with Button Items like apple iphone Pin
ISharda28-Jul-11 19:20
ISharda28-Jul-11 19:20 
QuestionAsynchronous Callback in WCF/Silverlight 4 application Pin
Parth Gandhi27-Jul-11 21:22
Parth Gandhi27-Jul-11 21:22 
AnswerRe: Asynchronous Callback in WCF/Silverlight 4 application Pin
Simon Bang Terkildsen27-Jul-11 23:24
Simon Bang Terkildsen27-Jul-11 23:24 
AnswerRe: Asynchronous Callback in WCF/Silverlight 4 application Pin
Abhinav S28-Jul-11 3:24
Abhinav S28-Jul-11 3:24 
QuestionCustom input for Silverlight DatePicker Pin
jadughar26-Jul-11 22:48
jadughar26-Jul-11 22:48 

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.