Click here to Skip to main content
15,919,479 members
Home / Discussions / WPF
   

WPF

 
GeneralRe: Editing items in a bound ListBox? Pin
Member 367392230-Jun-09 21:00
Member 367392230-Jun-09 21:00 
GeneralRe: Editing items in a bound ListBox? Pin
ABitSmart30-Jun-09 21:21
ABitSmart30-Jun-09 21:21 
GeneralRe: Editing items in a bound ListBox? Pin
Member 367392230-Jun-09 21:34
Member 367392230-Jun-09 21:34 
GeneralRe: Editing items in a bound ListBox? Pin
ABitSmart30-Jun-09 21:37
ABitSmart30-Jun-09 21:37 
GeneralRe: Editing items in a bound ListBox? Pin
Member 367392230-Jun-09 22:45
Member 367392230-Jun-09 22:45 
GeneralRe: Editing items in a bound ListBox? Pin
Member 367392230-Jun-09 21:05
Member 367392230-Jun-09 21:05 
GeneralRe: Editing items in a bound ListBox? Pin
ABitSmart30-Jun-09 21:35
ABitSmart30-Jun-09 21:35 
GeneralRe: Editing items in a bound ListBox? Pin
Member 367392230-Jun-09 20:56
Member 367392230-Jun-09 20:56 
Hi,
I am facing the similar kind of issue. But I am actually changing the controTemplate of ListBoxItem itself with ContentPresenter & a TextBox.
I did the same thing as per the posted contents but it did not work with the binded list. I have given something like below in the ControlTemplate of ListBox Item.

<ContentPresenter x:Name="displayTextBlock" Grid.Column="0" Grid.ColumnSpan="1" Margin="11,5,11,5" HorizontalAlignment="Stretch"/>

<TextBox x:Name="listItemTextBox" Padding="11,5,11,5" HorizontalAlignment="Stretch"
                                                                                          Background="Transparent"
                                                                                          Grid.Column="0"
                                                                                          Visibility="Collapsed" Grid.ColumnSpan="1"
                                                                                       Text="{Binding Path=Content, ElementName=displayTextBlock, Mode=TwoWay, UpdateSourceTrigger=LostFocus}" />

Kindly suggest.

Thnx,
Ritesh
QuestionDatabinding textbox to double Pin
ErikZ24-Mar-09 2:46
ErikZ24-Mar-09 2:46 
AnswerRe: Databinding textbox to double Pin
Pete O'Hanlon24-Mar-09 3:56
mvePete O'Hanlon24-Mar-09 3:56 
GeneralRe: Databinding textbox to double Pin
ErikZ24-Mar-09 4:01
ErikZ24-Mar-09 4:01 
GeneralRe: Databinding textbox to double Pin
Pete O'Hanlon24-Mar-09 4:18
mvePete O'Hanlon24-Mar-09 4:18 
GeneralRe: Databinding textbox to double Pin
ErikZ24-Mar-09 20:06
ErikZ24-Mar-09 20:06 
Questionsilverlight and dlls Pin
VCsamir24-Mar-09 2:24
VCsamir24-Mar-09 2:24 
AnswerRe: silverlight and dlls Pin
Mark Salsbery24-Mar-09 6:01
Mark Salsbery24-Mar-09 6:01 
GeneralRe: silverlight and dlls Pin
VCsamir30-Mar-09 0:49
VCsamir30-Mar-09 0:49 
GeneralRe: silverlight and dlls Pin
Mark Salsbery30-Mar-09 6:06
Mark Salsbery30-Mar-09 6:06 
QuestionWhat is the Exact use of WF??? Pin
Narendra Reddy Vajrala24-Mar-09 2:18
Narendra Reddy Vajrala24-Mar-09 2:18 
AnswerRe: What is the Exact use of WF??? Pin
#realJSOP24-Mar-09 2:58
professional#realJSOP24-Mar-09 2:58 
GeneralRe: What is the Exact use of WF??? Pin
Kevin McFarlane24-Mar-09 5:30
Kevin McFarlane24-Mar-09 5:30 
GeneralRe: What is the Exact use of WF??? Pin
#realJSOP24-Mar-09 6:14
professional#realJSOP24-Mar-09 6:14 
GeneralRe: What is the Exact use of WF??? Pin
Mark Salsbery24-Mar-09 6:29
Mark Salsbery24-Mar-09 6:29 
GeneralRe: What is the Exact use of WF??? Pin
#realJSOP24-Mar-09 9:51
professional#realJSOP24-Mar-09 9:51 
GeneralRe: What is the Exact use of WF??? Pin
Kevin McFarlane24-Mar-09 6:49
Kevin McFarlane24-Mar-09 6:49 
AnswerRe: What is the Exact use of WF??? Pin
Kevin McFarlane24-Mar-09 7:08
Kevin McFarlane24-Mar-09 7:08 

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.