Click here to Skip to main content
15,920,217 members
Home / Discussions / WPF
   

WPF

 
AnswerRe: how do use multiple grid in UserControl??? Pin
Abhinav S16-Mar-10 0:58
Abhinav S16-Mar-10 0:58 
AnswerRe: how do use multiple grid in UserControl??? Pin
Pete O'Hanlon16-Mar-10 1:53
mvePete O'Hanlon16-Mar-10 1:53 
QuestionGet binding of control in datagridtemplatecolumn Pin
klauswiesel15-Mar-10 22:51
klauswiesel15-Mar-10 22:51 
AnswerRe: Get binding of control in datagridtemplatecolumn Pin
Super Lloyd16-Mar-10 12:45
Super Lloyd16-Mar-10 12:45 
GeneralRe: Get binding of control in datagridtemplatecolumn Pin
klauswiesel16-Mar-10 22:04
klauswiesel16-Mar-10 22:04 
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 

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.