Click here to Skip to main content
16,008,942 members
Home / Discussions / WPF
   

WPF

 
GeneralRe: Windows forms application popup dialog? Pin
Mattzimmerer19-Mar-10 7:53
Mattzimmerer19-Mar-10 7:53 
GeneralRe: Windows forms application popup dialog? Pin
darkelv18-Mar-10 22:00
darkelv18-Mar-10 22:00 
GeneralRe: Windows forms application popup dialog? Pin
Mattzimmerer19-Mar-10 7:47
Mattzimmerer19-Mar-10 7:47 
QuestionCreate UserControl DependencyProperty of which value can be chosen in dropdown list (as combo box) Pin
vongocviet18-Mar-10 6:45
vongocviet18-Mar-10 6:45 
AnswerRe: Create UserControl DependencyProperty of which value can be chosen in dropdown list (as combo box) Pin
Super Lloyd18-Mar-10 11:16
Super Lloyd18-Mar-10 11:16 
QuestionHow to display Northwind Product Image? Pin
Gene Arnold17-Mar-10 9:00
Gene Arnold17-Mar-10 9:00 
AnswerRe: How to display Northwind Product Image? Pin
fred_17-Mar-10 9:42
fred_17-Mar-10 9:42 
QuestionHow can i add a User Control to another User Control?? Pin
urooj_mahmood17-Mar-10 3:34
urooj_mahmood17-Mar-10 3:34 
AnswerRe: How can i add a User Control to another User Control?? Pin
Abhinav S18-Mar-10 0:30
Abhinav S18-Mar-10 0:30 
AnswerRe: How can i add a User Control to another User Control?? Pin
Kunal Chowdhury «IN»23-Mar-10 7:31
professionalKunal Chowdhury «IN»23-Mar-10 7:31 
QuestionSilverlight map control localized to india Pin
p_mnj17-Mar-10 2:59
p_mnj17-Mar-10 2:59 
Questionhow do use multiple grid in UserControl??? Pin
urooj_mahmood16-Mar-10 0:47
urooj_mahmood16-Mar-10 0:47 
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.

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.