Click here to Skip to main content
15,917,795 members
Home / Discussions / WPF
   

WPF

 
QuestionHow do I tell why events aren't firing Pin
RugbyLeague16-Sep-10 2:49
RugbyLeague16-Sep-10 2:49 
AnswerRe: How do I tell why events aren't firing Pin
RugbyLeague16-Sep-10 5:42
RugbyLeague16-Sep-10 5:42 
GeneralRe: How do I tell why events aren't firing Pin
Pete O'Hanlon16-Sep-10 6:44
mvePete O'Hanlon16-Sep-10 6:44 
GeneralRe: How do I tell why events aren't firing Pin
RugbyLeague16-Sep-10 10:10
RugbyLeague16-Sep-10 10:10 
GeneralRe: How do I tell why events aren't firing Pin
Pete O'Hanlon16-Sep-10 10:13
mvePete O'Hanlon16-Sep-10 10:13 
QuestionRibbon Control - Workspace areas Pin
Sevententh14-Sep-10 23:16
Sevententh14-Sep-10 23:16 
QuestionRe: Ribbon Control - Workspace areas Pin
Sevententh15-Sep-10 0:25
Sevententh15-Sep-10 0:25 
QuestionWire up an event from a helper class Pin
Mycroft Holmes14-Sep-10 16:43
professionalMycroft Holmes14-Sep-10 16:43 
GeneralRe: Wire up an event from a helper class Pin
Mycroft Holmes15-Sep-10 12:08
professionalMycroft Holmes15-Sep-10 12:08 
QuestionEvents between user controls Pin
David_ml_G14-Sep-10 9:35
David_ml_G14-Sep-10 9:35 
AnswerRe: Events between user controls Pin
AspDotNetDev14-Sep-10 10:18
protectorAspDotNetDev14-Sep-10 10:18 
QuestionRe VS2003 error Pin
Ajay Kale New13-Sep-10 17:32
Ajay Kale New13-Sep-10 17:32 
AnswerRe: Re VS2003 error Pin
Pete O'Hanlon13-Sep-10 22:26
mvePete O'Hanlon13-Sep-10 22:26 
AnswerRe: Re VS2003 error Pin
Abhinav S19-Sep-10 19:57
Abhinav S19-Sep-10 19:57 
QuestionGetting the size of a control Pin
WebMaster13-Sep-10 9:47
WebMaster13-Sep-10 9:47 
QuestionRe: Getting the size of a control Pin
PumbaPumba27-Sep-10 6:44
PumbaPumba27-Sep-10 6:44 
QuestionMVVM and the ViewModelLocator Pin
Mycroft Holmes11-Sep-10 23:36
professionalMycroft Holmes11-Sep-10 23:36 
AnswerRe: MVVM and the ViewModelLocator - Solved Pin
Mycroft Holmes14-Sep-10 16:06
professionalMycroft Holmes14-Sep-10 16:06 
QuestionWPF custom control DepencyProperty Pin
wpfcomputer11-Sep-10 9:12
wpfcomputer11-Sep-10 9:12 
AnswerRe: WPF custom control DepencyProperty Pin
Abhishek Sur11-Sep-10 10:54
professionalAbhishek Sur11-Sep-10 10:54 
GeneralRe: WPF custom control DepencyProperty Pin
wpfcomputer11-Sep-10 11:26
wpfcomputer11-Sep-10 11:26 
GeneralRe: WPF custom control DepencyProperty Pin
Abhishek Sur12-Sep-10 1:50
professionalAbhishek Sur12-Sep-10 1:50 
Well my friend, why don't you use ItemsControl in this regard.

You can go for ListBox.

<ListBox ItemsSource="{Binding}" DataContext="{StaticResource MyItems}">
<ListBox.ItemTemplate>
<DataTemplate> 
<TextBlock Text="{Binding MyProperty}" />
</DataTemplate>
</ListBox.ItemTemplate>
</ListBox>


If you are using List of STRING you dont need to specify property name. Use Text="{Binding}" which will eventually call ToString for the string object and get the value of it.
Abhishek Sur
Don't forget to click "Good Answer" if you like this Solution.
Visit My Website-->


www.abhisheksur.com

GeneralRe: WPF custom control DepencyProperty Pin
wpfcomputer13-Sep-10 12:35
wpfcomputer13-Sep-10 12:35 
GeneralRe: WPF custom control DepencyProperty Pin
Abhishek Sur13-Sep-10 12:54
professionalAbhishek Sur13-Sep-10 12:54 
QuestionHow to implement RTL/LTR button in RichEditBox? Pin
Yariv10-Sep-10 20:16
Yariv10-Sep-10 20:16 

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.