Click here to Skip to main content
15,902,910 members
Home / Discussions / WPF
   

WPF

 
AnswerRe: Custom SelectedItem in ListView Pin
Pete O'Hanlon1-May-10 9:45
mvePete O'Hanlon1-May-10 9:45 
GeneralRe: Custom SelectedItem in ListView Pin
Saksida Bojan1-May-10 10:39
Saksida Bojan1-May-10 10:39 
GeneralRe: Custom SelectedItem in ListView Pin
Pete O'Hanlon1-May-10 10:40
mvePete O'Hanlon1-May-10 10:40 
GeneralRe: Custom SelectedItem in ListView Pin
Saksida Bojan1-May-10 10:59
Saksida Bojan1-May-10 10:59 
GeneralRe: Custom SelectedItem in ListView Pin
Pete O'Hanlon1-May-10 11:22
mvePete O'Hanlon1-May-10 11:22 
GeneralRe: Custom SelectedItem in ListView Pin
Saksida Bojan1-May-10 19:00
Saksida Bojan1-May-10 19:00 
GeneralRe: Custom SelectedItem in ListView Pin
Pete O'Hanlon1-May-10 20:22
mvePete O'Hanlon1-May-10 20:22 
QuestionLearning WPF basics - how to create & use (and re-use) a combobox 'template' bound to CONSTRAINed SQL columns Pin
Duke Carey30-Apr-10 8:26
professionalDuke Carey30-Apr-10 8:26 
I'm trying to learn WPF doing some simple stuff before tackling a real project. The first thing I've tried to do is to mock up an Excel sheet used to review case files. It uses 40 some columns to collect reviewers' input. At least 5 columns use the same Excel data validation to limit the responses to:
Yes,
No, or
Unknown

So..in porting this to SQL Server I've put check constraints in that require one of those 3 entries.

In mocking up the data entry form in WPF I would like to use a combobox that IS BOUND to one of those SQL columns and offers the 3 permissible choices. It seems to me that the ideal approach would be to create a template combobox with the 3 choices, and then use and re-use the template for each of the constrained columns.

Maybe my searching skills are poor, but I can't seem to find any explanations or examples of doing something like this, even though it seems as though this sort of thing would be used often.

Where do I start?
AnswerRe: Learning WPF basics - how to create & use (and re-use) a combobox 'template' bound to CONSTRAINed SQL columns Pin
Pete O'Hanlon1-May-10 9:50
mvePete O'Hanlon1-May-10 9:50 
GeneralRe: Learning WPF basics - how to create & use (and re-use) a combobox 'template' bound to CONSTRAINed SQL columns Pin
Duke Carey3-May-10 0:58
professionalDuke Carey3-May-10 0:58 
GeneralRe: Learning WPF basics - how to create & use (and re-use) a combobox 'template' bound to CONSTRAINed SQL columns Pin
Pete O'Hanlon3-May-10 2:45
mvePete O'Hanlon3-May-10 2:45 
QuestionProblem while animating Web browser Control Pin
hassan_wahpk130-Apr-10 2:20
hassan_wahpk130-Apr-10 2:20 
AnswerRe: Problem while animating Web browser Control Pin
Abhinav S30-Apr-10 5:29
Abhinav S30-Apr-10 5:29 
GeneralRe: Problem while animating Web browser Control Pin
hassan_wahpk12-May-10 18:24
hassan_wahpk12-May-10 18:24 
QuestionCreate Image Programtically Pin
#realJSOP29-Apr-10 9:37
professional#realJSOP29-Apr-10 9:37 
AnswerRe: Create Image Programtically Pin
Abhinav S29-Apr-10 18:27
Abhinav S29-Apr-10 18:27 
GeneralRe: Create Image Programtically Pin
#realJSOP29-Apr-10 23:48
professional#realJSOP29-Apr-10 23:48 
QuestionRe: Create Image Programtically Pin
Michel Godfroid29-Apr-10 23:34
Michel Godfroid29-Apr-10 23:34 
AnswerRe: Create Image Programtically Pin
#realJSOP29-Apr-10 23:52
professional#realJSOP29-Apr-10 23:52 
AnswerRe: Create Image Programtically Pin
Tim Yen1-May-10 3:08
Tim Yen1-May-10 3:08 
GeneralRe: Create Image Programtically Pin
#realJSOP3-May-10 2:56
professional#realJSOP3-May-10 2:56 
QuestionDisplay an Exception in Treeview with innerexception being child Pin
Troyzajac29-Apr-10 5:19
Troyzajac29-Apr-10 5:19 
AnswerRe: Display an Exception in Treeview with innerexception being child Pin
rhuiden30-Apr-10 4:10
rhuiden30-Apr-10 4:10 
QuestionBinding Selected Value to Combobox Pin
LePoulpe30329-Apr-10 4:08
LePoulpe30329-Apr-10 4:08 
AnswerRe: Binding Selected Value to Combobox Pin
Parwej Ahamad29-Apr-10 6:14
professionalParwej Ahamad29-Apr-10 6:14 

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.