Click here to Skip to main content
16,009,318 members
Home / Discussions / WPF
   

WPF

 
AnswerRe: Reading Web Servers File System Pin
wolfbinary9-Feb-10 10:52
wolfbinary9-Feb-10 10:52 
GeneralRe: Reading Web Servers File System Pin
Jammer10-Feb-10 4:06
Jammer10-Feb-10 4:06 
GeneralRe: Reading Web Servers File System Pin
wolfbinary10-Feb-10 9:15
wolfbinary10-Feb-10 9:15 
QuestionMenu links are sometimes non-responsive to the Click Event???!!! Pin
Michael Eber8-Feb-10 11:51
Michael Eber8-Feb-10 11:51 
AnswerRe: Menu links are sometimes non-responsive to the Click Event???!!! Pin
Abhinav S8-Feb-10 23:46
Abhinav S8-Feb-10 23:46 
QuestionImage on form Pin
Syed Shahid Hussain8-Feb-10 11:11
Syed Shahid Hussain8-Feb-10 11:11 
AnswerRe: Image on form Pin
Not Active8-Feb-10 11:16
mentorNot Active8-Feb-10 11:16 
GeneralRe: Image on form Pin
Syed Shahid Hussain8-Feb-10 21:43
Syed Shahid Hussain8-Feb-10 21:43 
GeneralRe: Image on form Pin
Pete O'Hanlon8-Feb-10 21:52
mvePete O'Hanlon8-Feb-10 21:52 
QuestionWPF Pin
Syed Shahid Hussain8-Feb-10 11:08
Syed Shahid Hussain8-Feb-10 11:08 
AnswerRe: WPF Pin
Not Active8-Feb-10 11:17
mentorNot Active8-Feb-10 11:17 
AnswerRe: WPF Pin
V.8-Feb-10 21:25
professionalV.8-Feb-10 21:25 
QuestionProblem w/ ClickOnce deployment and EventLogs Pin
vsaratkar8-Feb-10 9:46
vsaratkar8-Feb-10 9:46 
QuestionDragging outlook attached documents into a WPF app Pin
RugbyLeague8-Feb-10 3:59
RugbyLeague8-Feb-10 3:59 
AnswerRe: Dragging outlook attached documents into a WPF app Pin
Pete O'Hanlon8-Feb-10 4:24
mvePete O'Hanlon8-Feb-10 4:24 
GeneralRe: Dragging outlook attached documents into a WPF app Pin
RugbyLeague8-Feb-10 5:34
RugbyLeague8-Feb-10 5:34 
QuestionMVVM standardization [modified] Pin
Michael Sync7-Feb-10 5:46
Michael Sync7-Feb-10 5:46 
AnswerRe: MVVM standardization Pin
Wes Aday8-Feb-10 12:35
professionalWes Aday8-Feb-10 12:35 
QuestionDataTemplate with List binding Pin
pbalaga6-Feb-10 9:20
pbalaga6-Feb-10 9:20 
Hi, I managed to bring to work simple data template in a ListView control:
<DataTemplate>
    <TextBox Text="{Binding Path=boo}" />
</DataTemplate>

Class of the items added to the ListView contains property 'boo' of type string.
But how to do similar binding for a custom complex type. Let's say instead of string boo,
I have List<int> integers;. What I'm trying to achieve is to make the textbox display
the numbers in the list separated with commas (e.g. 3,5,15,2).
In other words, is it possible to do something like
<TextBox Text="{Binding Path=integers}" />
by providing how the target should be formatted?
The main issue is that it should be a two-way binding (with ability to convert "1,5,4" back to List<int>).

What direction to go? I assume I could implement a string property, i.e. 'NumbersString' returning
joined contents of the list in form of a single string. Or maybe it has something to do with converters?

I only hope my explanation is clear enough.

Thanks in advance,
Paul
AnswerRe: DataTemplate with List binding Pin
Pete O'Hanlon6-Feb-10 9:58
mvePete O'Hanlon6-Feb-10 9:58 
GeneralRe: DataTemplate with List binding Pin
pbalaga6-Feb-10 21:35
pbalaga6-Feb-10 21:35 
GeneralRe: DataTemplate with List binding Pin
Pete O'Hanlon6-Feb-10 22:01
mvePete O'Hanlon6-Feb-10 22:01 
AnswerRe: DataTemplate with List binding Pin
Abhinav S6-Feb-10 10:06
Abhinav S6-Feb-10 10:06 
GeneralRe: DataTemplate with List binding Pin
pbalaga6-Feb-10 21:37
pbalaga6-Feb-10 21:37 
GeneralRe: DataTemplate with List binding [modified] Pin
Abhinav S6-Feb-10 21:45
Abhinav S6-Feb-10 21:45 

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.