Click here to Skip to main content
15,892,059 members
Home / Discussions / WPF
   

WPF

 
GeneralRe: Get binding of control in datagridtemplatecolumn Pin
Super Lloyd17-Mar-10 1:40
Super Lloyd17-Mar-10 1:40 
GeneralRe: Get binding of control in datagridtemplatecolumn Pin
klauswiesel17-Mar-10 2:12
klauswiesel17-Mar-10 2:12 
GeneralRe: Get binding of control in datagridtemplatecolumn Pin
Super Lloyd17-Mar-10 2:55
Super Lloyd17-Mar-10 2:55 
GeneralRe: Get binding of control in datagridtemplatecolumn Pin
klauswiesel17-Mar-10 3:38
klauswiesel17-Mar-10 3:38 
GeneralRe: Get binding of control in datagridtemplatecolumn Pin
Super Lloyd17-Mar-10 12:21
Super Lloyd17-Mar-10 12:21 
GeneralRe: Get binding of control in datagridtemplatecolumn Pin
klauswiesel18-Mar-10 9:39
klauswiesel18-Mar-10 9:39 
GeneralRe: Get binding of control in datagridtemplatecolumn Pin
klauswiesel22-Mar-10 0:16
klauswiesel22-Mar-10 0:16 
GeneralRe: Get binding of control in datagridtemplatecolumn Pin
Super Lloyd22-Mar-10 14:16
Super Lloyd22-Mar-10 14:16 
Just an educated guess here, but maybe you can write your user control like that:
.....
<TextBox x:Name="txSelect" Text="{Binding UcText, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}" />
.....


TextBox, by default, only update the source on focus lost, and because the UI editing control is removed from the hierarchy probably before the focus lost event, maybe the binding is never triggered....

hence the additional UpdateSourceTrigger in the Binding definition
A train station is where the train stops. A bus station is where the bus stops. On my desk, I have a work station....
_________________________________________________________
My programs never have bugs, they just develop random features.

GeneralRe: Get binding of control in datagridtemplatecolumn Pin
klauswiesel22-Mar-10 23:13
klauswiesel22-Mar-10 23:13 
GeneralRe: Get binding of control in datagridtemplatecolumn Pin
Super Lloyd23-Mar-10 11:43
Super Lloyd23-Mar-10 11:43 
GeneralRe: Get binding of control in datagridtemplatecolumn Pin
klauswiesel23-Mar-10 11:51
klauswiesel23-Mar-10 11:51 
GeneralRe: Get binding of control in datagridtemplatecolumn Pin
Super Lloyd23-Mar-10 20:47
Super Lloyd23-Mar-10 20:47 
QuestionHelp with textbox for calculator Pin
Sonar8715-Mar-10 14:47
Sonar8715-Mar-10 14:47 
AnswerRe: Help with textbox for calculator Pin
Not Active15-Mar-10 15:45
mentorNot Active15-Mar-10 15:45 
GeneralRe: Help with textbox for calculator Pin
Sonar8716-Mar-10 13:54
Sonar8716-Mar-10 13:54 
GeneralRe: Help with textbox for calculator Pin
Not Active16-Mar-10 14:20
mentorNot Active16-Mar-10 14:20 
GeneralRe: Help with textbox for calculator Pin
Sonar8716-Mar-10 18:26
Sonar8716-Mar-10 18:26 
GeneralRe: Help with textbox for calculator Pin
guyet053-Aug-10 17:25
guyet053-Aug-10 17:25 
Questionhow to use silverlight tool in .aspx page Pin
DX Roster14-Mar-10 20:22
DX Roster14-Mar-10 20:22 
AnswerRe: how to use silverlight tool in .aspx page Pin
Abhinav S14-Mar-10 20:44
Abhinav S14-Mar-10 20:44 
QuestionC# code Equivalent in wpf Pin
amir-haghighi13-Mar-10 7:15
amir-haghighi13-Mar-10 7:15 
AnswerRe: C# code Equivalent in wpf Pin
Super Lloyd15-Mar-10 11:15
Super Lloyd15-Mar-10 11:15 
QuestionTab ordering in WPF controls. Pin
SRKSHOME11-Mar-10 23:15
SRKSHOME11-Mar-10 23:15 
QuestionWPF TextBox shrinks but Stackpanel doesn't Pin
Marcelo Ricardo de Oliveira11-Mar-10 8:58
Marcelo Ricardo de Oliveira11-Mar-10 8:58 
AnswerRe: WPF TextBox shrinks but Stackpanel doesn't Pin
Super Lloyd15-Mar-10 2:24
Super Lloyd15-Mar-10 2:24 

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.