Click here to Skip to main content
15,887,268 members
Home / Discussions / WPF
   

WPF

 
AnswerRe: WPF Grid double clicked event [add timmer] Pin
ProtoBytes19-Feb-10 4:30
ProtoBytes19-Feb-10 4:30 
QuestionHow to hide a control when its available space is too small Pin
daniel radford18-Feb-10 22:30
daniel radford18-Feb-10 22:30 
AnswerRe: How to hide a control when its available space is too small Pin
ProtoBytes19-Feb-10 4:31
ProtoBytes19-Feb-10 4:31 
QuestionSDK trouble in WPF Pin
Etienne_12318-Feb-10 6:07
Etienne_12318-Feb-10 6:07 
AnswerRe: SDK trouble in WPF Pin
Pete O'Hanlon18-Feb-10 9:51
mvePete O'Hanlon18-Feb-10 9:51 
GeneralRe: SDK trouble in WPF Pin
Etienne_12321-Feb-10 3:51
Etienne_12321-Feb-10 3:51 
QuestionText Box Validation in C#, not XAML? Pin
MattFunke18-Feb-10 4:49
MattFunke18-Feb-10 4:49 
AnswerRe: Text Box Validation in C#, not XAML? Pin
Stryder_118-Feb-10 6:17
Stryder_118-Feb-10 6:17 
Question: You have 3 "if" statements, so which are you putting the breakpoint at?

It looks like you are trying to capture the text change event. Maybe this will point you in the right direction, put a breakpoint on your "set" statement for your "TextContents" property. Run your app and see if it breaks there.

Unless I'm missing something, and I could be cause I'm not up to speed with xaml, but my guess is it won't break there either. You are using a TextBox as the base class. The text box has its own field "Text" for holding the contents. So you will not call the set and then will not call "NotifyPropertyChanged".

The TextBox has an event for text changed where you should put your validation code.

Hope this helps.
GeneralRe: Text Box Validation in C#, not XAML? Pin
MattFunke18-Feb-10 7:07
MattFunke18-Feb-10 7:07 
AnswerRe: Text Box Validation in C#, not XAML? Pin
Pete O'Hanlon18-Feb-10 9:12
mvePete O'Hanlon18-Feb-10 9:12 
QuestionFacial recognition Pin
Etienne_12318-Feb-10 2:50
Etienne_12318-Feb-10 2:50 
AnswerRe: Facial recognition Pin
ProtoBytes19-Feb-10 4:36
ProtoBytes19-Feb-10 4:36 
AnswerRe: Facial recognition Pin
ProtoBytes19-Feb-10 4:46
ProtoBytes19-Feb-10 4:46 
QuestionDynamic loading Pin
nerra17-Feb-10 17:43
nerra17-Feb-10 17:43 
AnswerRe: Dynamic loading Pin
AspDotNetDev17-Feb-10 18:36
protectorAspDotNetDev17-Feb-10 18:36 
GeneralRe: Dynamic loading Pin
nerra17-Feb-10 20:59
nerra17-Feb-10 20:59 
Questionuse flash in asp.net Pin
zahramoghadam16-Feb-10 21:35
zahramoghadam16-Feb-10 21:35 
AnswerRe: use flash in asp.net Pin
Pete O'Hanlon16-Feb-10 22:52
mvePete O'Hanlon16-Feb-10 22:52 
AnswerRe: use flash in asp.net Pin
Abhinav S17-Feb-10 0:07
Abhinav S17-Feb-10 0:07 
QuestionPass parameters Pin
mehrdadov16-Feb-10 19:30
mehrdadov16-Feb-10 19:30 
AnswerRe: Pass parameters Pin
Pete O'Hanlon16-Feb-10 22:28
mvePete O'Hanlon16-Feb-10 22:28 
GeneralRe: Pass parameters Pin
mehrdadov17-Feb-10 4:31
mehrdadov17-Feb-10 4:31 
GeneralRe: Pass parameters Pin
Kevin McFarlane18-Feb-10 9:09
Kevin McFarlane18-Feb-10 9:09 
QuestionListBox, WrapPanel & Images Pin
Jammer16-Feb-10 10:19
Jammer16-Feb-10 10:19 
AnswerRe: ListBox, WrapPanel & Images Pin
Abhinav S17-Feb-10 0:06
Abhinav S17-Feb-10 0:06 

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.