Click here to Skip to main content
15,884,099 members
Home / Discussions / WPF
   

WPF

 
QuestionComboBox focus and marked on startup Pin
falukky1-Mar-12 3:42
falukky1-Mar-12 3:42 
QuestionOut-of-Browser Window Positioning Pin
roni-in1-Mar-12 0:05
roni-in1-Mar-12 0:05 
AnswerRe: Out-of-Browser Window Positioning Pin
SledgeHammer012-Mar-12 10:42
SledgeHammer012-Mar-12 10:42 
Questionhow to change Combobox DropDownStyle ? Pin
gshhar29-Feb-12 22:21
gshhar29-Feb-12 22:21 
AnswerRe: how to change Combobox DropDownStyle ? Pin
Abhinav S29-Feb-12 22:40
Abhinav S29-Feb-12 22:40 
GeneralRe: how to change Combobox DropDownStyle ? Pin
gshhar29-Feb-12 23:23
gshhar29-Feb-12 23:23 
QuestionScreen-Workareas of multiple Monitors Pin
Mr.PoorEnglish29-Feb-12 2:05
Mr.PoorEnglish29-Feb-12 2:05 
QuestionHow to access data format errors Pin
Bernhard Hiller29-Feb-12 1:05
Bernhard Hiller29-Feb-12 1:05 
On a WPF window, there is a TextBox which is bound to a property of number type (e.g. an int). When the user input contains characters (e.g. 12w34), the conversion to a number fails, and the setter of the underlying property does not get called, i.e. the property stays unchanged. But the textbox automatically receives a red border indicating that something went wrong.
I conclude that the data format error somehow found its way to the UI. Now I want to get informed about that error, so that I know that there is a discrepancy between the UI and the underlying ViewModel object.
For the purpose of learning, I do not want to prevent character input now.
How can I access that error, either when it just has been raised or somewhen later when I want to validate the object?
AnswerRe: How to access data format errors Pin
Abhinav S29-Feb-12 1:17
Abhinav S29-Feb-12 1:17 
GeneralRe: How to access data format errors Pin
Bernhard Hiller29-Feb-12 3:32
Bernhard Hiller29-Feb-12 3:32 
GeneralRe: How to access data format errors Pin
Pete O'Hanlon29-Feb-12 4:00
mvePete O'Hanlon29-Feb-12 4:00 
GeneralRe: How to access data format errors Pin
Bernhard Hiller29-Feb-12 19:32
Bernhard Hiller29-Feb-12 19:32 
Questioncalendar control Pin
nik00828-Feb-12 20:38
nik00828-Feb-12 20:38 
AnswerRe: calendar control Pin
Abhinav S28-Feb-12 22:41
Abhinav S28-Feb-12 22:41 
AnswerRe: calendar control Pin
Pete O'Hanlon29-Feb-12 0:18
mvePete O'Hanlon29-Feb-12 0:18 
QuestionThe WPF DocumentViewer Control Pin
usolo28-Feb-12 15:04
usolo28-Feb-12 15:04 
QuestionEdit MainPage title in Silverlight 5 Pin
roni-in28-Feb-12 6:01
roni-in28-Feb-12 6:01 
AnswerRe: Edit MainPage title in Silverlight 5 Pin
Abhinav S29-Feb-12 1:53
Abhinav S29-Feb-12 1:53 
GeneralRe: Edit MainPage title in Silverlight 5 Pin
roni-in29-Feb-12 3:37
roni-in29-Feb-12 3:37 
QuestionReference a Converter from a template.xaml Pin
Mycroft Holmes27-Feb-12 20:55
professionalMycroft Holmes27-Feb-12 20:55 
AnswerRe: Reference a Converter from a template.xaml Pin
Pete O'Hanlon27-Feb-12 21:03
mvePete O'Hanlon27-Feb-12 21:03 
GeneralRe: Reference a Converter from a template.xaml Pin
Mycroft Holmes27-Feb-12 21:25
professionalMycroft Holmes27-Feb-12 21:25 
GeneralRe: Reference a Converter from a template.xaml Pin
Pete O'Hanlon27-Feb-12 21:34
mvePete O'Hanlon27-Feb-12 21:34 
GeneralRe: Reference a Converter from a template.xaml Pin
Mycroft Holmes27-Feb-12 21:48
professionalMycroft Holmes27-Feb-12 21:48 
GeneralRe: Reference a Converter from a template.xaml Pin
Pete O'Hanlon27-Feb-12 21:50
mvePete O'Hanlon27-Feb-12 21:50 

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.