Click here to Skip to main content
15,908,015 members
Home / Discussions / WPF
   

WPF

 
GeneralRe: MVVM question: hierarchical model representation Pin
Member 103390714-Oct-11 8:00
Member 103390714-Oct-11 8:00 
GeneralRe: MVVM question: hierarchical model representation Pin
SledgeHammer0114-Oct-11 8:19
SledgeHammer0114-Oct-11 8:19 
GeneralRe: MVVM question: hierarchical model representation Pin
Member 103390714-Oct-11 9:13
Member 103390714-Oct-11 9:13 
QuestionSetting combobox width by binding Pin
Preston Phillips13-Oct-11 10:30
Preston Phillips13-Oct-11 10:30 
GeneralRe: Setting combobox width by binding Pin
Preston Phillips13-Oct-11 10:51
Preston Phillips13-Oct-11 10:51 
GeneralRe: Setting combobox width by binding Pin
Preston Phillips14-Oct-11 8:37
Preston Phillips14-Oct-11 8:37 
QuestionSet DisplayMemberPath For Dynamic Combobox Pin
Matt Tapia11-Oct-11 8:20
Matt Tapia11-Oct-11 8:20 
AnswerRe: Set DisplayMemberPath For Dynamic Combobox Pin
Wayne Gaylard12-Oct-11 1:09
professionalWayne Gaylard12-Oct-11 1:09 
You need to make your fields in Class AnswerChoice Properties like this

Dim intAnswerChoiceID As Integer
    Public Property AnswerChoiceID As Integer
        Get
            Return intAnswerChoiceID
        End Get
        Set(ByVal value As Integer)
            intAnswerChoiceID = value
        End Set
    End Property
    Dim strAnswerChoice As String
    Public Property AnswerChoice As String
        Get
            Return strAnswerChoice
        End Get
        Set(ByVal value As String)
            strAnswerChoice = value
        End Set
    End Property


My advice also would be to use an ObservableCollection rather than a List to store your collection, as it notifies your UI if there are any changes to the collection.

Hope this helps
When I was a coder, we worked on algorithms. Today, we memorize APIs for countless libraries — those libraries have the algorithms - Eric Allman

GeneralRe: Set DisplayMemberPath For Dynamic Combobox Pin
Matt Tapia12-Oct-11 4:19
Matt Tapia12-Oct-11 4:19 
GeneralRe: Set DisplayMemberPath For Dynamic Combobox Pin
Alisaunder13-Oct-11 2:46
Alisaunder13-Oct-11 2:46 
GeneralRe: Set DisplayMemberPath For Dynamic Combobox Pin
Wayne Gaylard13-Oct-11 2:59
professionalWayne Gaylard13-Oct-11 2:59 
QuestionWPF Datagrid checkbox property not updated Pin
Preston Phillips11-Oct-11 8:17
Preston Phillips11-Oct-11 8:17 
AnswerRe: WPF Datagrid checkbox property not updated Pin
Wayne Gaylard12-Oct-11 1:11
professionalWayne Gaylard12-Oct-11 1:11 
GeneralRe: WPF Datagrid checkbox property not updated Pin
Preston Phillips12-Oct-11 3:52
Preston Phillips12-Oct-11 3:52 
GeneralRe: WPF Datagrid checkbox property not updated Pin
Preston Phillips12-Oct-11 4:38
Preston Phillips12-Oct-11 4:38 
GeneralRe: WPF Datagrid checkbox property not updated Pin
Preston Phillips12-Oct-11 5:15
Preston Phillips12-Oct-11 5:15 
QuestionValue Conversions Pin
Geysser8-Oct-11 9:04
Geysser8-Oct-11 9:04 
AnswerRe: Value Conversions Pin
Abhinav S9-Oct-11 0:45
Abhinav S9-Oct-11 0:45 
AnswerRe: Value Conversions Pin
SledgeHammer019-Oct-11 8:05
SledgeHammer019-Oct-11 8:05 
GeneralRe: Value Conversions Pin
Geysser9-Oct-11 8:18
Geysser9-Oct-11 8:18 
GeneralRe: Value Conversions Pin
SledgeHammer019-Oct-11 9:02
SledgeHammer019-Oct-11 9:02 
AnswerRe: Value Conversions Pin
Pete O'Hanlon9-Oct-11 9:30
mvePete O'Hanlon9-Oct-11 9:30 
GeneralRe: Value Conversions Pin
Geysser10-Oct-11 5:55
Geysser10-Oct-11 5:55 
GeneralRe: Value Conversions Pin
Pete O'Hanlon10-Oct-11 6:12
mvePete O'Hanlon10-Oct-11 6:12 
GeneralRe: Value Conversions Pin
SledgeHammer0110-Oct-11 10:03
SledgeHammer0110-Oct-11 10:03 

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.