Click here to Skip to main content
15,920,896 members
Home / Discussions / WPF
   

WPF

 
GeneralRe: Progress Bar Not Updating [SOLVED (kind of)] Pin
Mark Salsbery5-Jun-09 12:47
Mark Salsbery5-Jun-09 12:47 
AnswerRe: Progress Bar Not Updating [SOLVED (kind of)] Pin
Raja.Lakshman3-Apr-10 18:08
Raja.Lakshman3-Apr-10 18:08 
QuestionProgress Bar and the BackGroundWorker Pin
Etienne_1235-Jun-09 2:25
Etienne_1235-Jun-09 2:25 
AnswerRe: Progress Bar and the BackGroundWorker Pin
ABitSmart5-Jun-09 3:36
ABitSmart5-Jun-09 3:36 
AnswerRe: Progress Bar and the BackGroundWorker Pin
Mark Salsbery5-Jun-09 6:15
Mark Salsbery5-Jun-09 6:15 
QuestionHow to FindControls in ListView Pin
Glyn1235-Jun-09 1:25
Glyn1235-Jun-09 1:25 
AnswerRe: How to FindControls in ListView Pin
Pete O'Hanlon5-Jun-09 2:00
mvePete O'Hanlon5-Jun-09 2:00 
GeneralRe: How to FindControls in ListView Pin
Glyn1235-Jun-09 4:03
Glyn1235-Jun-09 4:03 
Thanks for your reply Pete.

Could you please explain how to 'wire' this up properly, as I'm struggling!

In the XAML, I set the TextBox text binding to 'TestText'

<TextBox Name="TextBox1" Width="100" Text="{Binding Path=TestText, Mode=TwoWay}"></TextBox>

At the begining of the code behind, I declared and setup TestText:
Private _TestText As String

    Public Property TestText() As String
        Get
            Return _TestText
        End Get
        Set(ByVal value As String)
            _TestText = value
           
        End Set
    End Property


To test it, I used the following code to iterate through the ListView.
Private Sub BtnSubmitValues_Click(ByVal sender As Object, ByVal e As System.Windows.RoutedEventArgs) Handles BtnSubmitValues.Click

        Dim row As System.Data.DataRowView
        For Each row In ListView1.Items

            MsgBox(TestText)
        Next
    End Sub


The test was meant to produce a seperate message box (for each ListView item), containing the value of each TextBox.
The Message boxes were all blank.

What am I doing wrong?

Thanks
GeneralRe: How to FindControls in ListView Pin
Pete O'Hanlon5-Jun-09 4:14
mvePete O'Hanlon5-Jun-09 4:14 
GeneralRe: How to FindControls in ListView Pin
Glyn1238-Jun-09 2:23
Glyn1238-Jun-09 2:23 
GeneralRe: How to FindControls in ListView Pin
Pete O'Hanlon8-Jun-09 5:04
mvePete O'Hanlon8-Jun-09 5:04 
QuestionPage turn in wpf 3d Pin
AmirHossein.M.Ojvar4-Jun-09 20:50
AmirHossein.M.Ojvar4-Jun-09 20:50 
AnswerRe: Page turn in wpf 3d Pin
Pete O'Hanlon4-Jun-09 21:55
mvePete O'Hanlon4-Jun-09 21:55 
QuestionText and Image in header in listview Pin
krishnan.s4-Jun-09 20:16
krishnan.s4-Jun-09 20:16 
AnswerRe: Text and Image in header in listview Pin
Mark Salsbery4-Jun-09 21:14
Mark Salsbery4-Jun-09 21:14 
GeneralRe: Text and Image in header in listview Pin
krishnan.s4-Jun-09 21:45
krishnan.s4-Jun-09 21:45 
GeneralRe: Text and Image in header in listview Pin
Mark Salsbery5-Jun-09 6:25
Mark Salsbery5-Jun-09 6:25 
QuestionBinding problem: Set a source of a 'Source' property. Pin
Lutosław4-Jun-09 11:09
Lutosław4-Jun-09 11:09 
AnswerRe: Binding problem: Set a source of a 'Source' property. Pin
User 2710098-Jun-09 18:27
User 2710098-Jun-09 18:27 
GeneralRe: Binding problem: Set a source of a 'Source' property. Pin
Lutosław9-Jun-09 10:57
Lutosław9-Jun-09 10:57 
GeneralRe: Binding problem: Set a source of a 'Source' property. Pin
User 27100910-Jun-09 18:08
User 27100910-Jun-09 18:08 
GeneralRe: Binding problem: Set a source of a 'Source' property. Pin
Lutosław11-Jun-09 3:26
Lutosław11-Jun-09 3:26 
GeneralRe: Binding problem: Set a source of a 'Source' property. Pin
User 27100918-Jun-09 18:42
User 27100918-Jun-09 18:42 
GeneralRe: Binding problem: Set a source of a 'Source' property. Pin
Lutosław19-Jun-09 4:32
Lutosław19-Jun-09 4:32 
Questiond3dimage + reference device Pin
toxigun4-Jun-09 8:58
toxigun4-Jun-09 8:58 

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.