Click here to Skip to main content
15,884,836 members
Please Sign up or sign in to vote.
5.00/5 (1 vote)
See more:
Hello Everyone,

I've created a VB.NET application and made a WPF user control (Text Box) . Now i want to read data from text file into this text box . I can read data into win text boxes but unable to read it into WPF text box. How can i do this?
Posted
Comments
itaybu 14-Apr-12 11:28am    
WPF User-Control for use at WPF Application and WPF Browser Application.

You have to get the concept of Binding clear in your mind. Once you've got that it is no problem. Have a look at some of the very simple WPF examples on this site. I'll get back with a couple of helpful link in a minute.

WPF Data Binding - Part 1[^]
Or
Moving Toward WPF Data Binding One Step at a Time[^]

WPF Tutorial - Concept Binding[^]
 
Share this answer
 
v3
Comments
sarah.cs 21-Feb-12 5:49am    
Thanx a lot Erik ! I will surely try to understand Binding concept and go through the examples.
Thank You very much Erik i searched WPF examples on this website and found the exact solution from this article.

Integrate WPF UserControls in WinForms[^]
 
Share this answer
 
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900