Click here to Skip to main content
15,903,362 members
Home / Discussions / WPF
   

WPF

 
GeneralRe: Help me please PinPopular
Simon Bang Terkildsen2-Oct-11 18:18
Simon Bang Terkildsen2-Oct-11 18:18 
GeneralRe: Help me please Pin
Noor20112-Oct-11 22:34
Noor20112-Oct-11 22:34 
GeneralRe: Help me please Pin
Pete O'Hanlon3-Oct-11 0:36
mvePete O'Hanlon3-Oct-11 0:36 
GeneralCasting the net ... Pin
Gary Ranson1-Oct-11 22:32
Gary Ranson1-Oct-11 22:32 
GeneralRe: Casting the net ... Pin
Pete O'Hanlon3-Oct-11 0:50
mvePete O'Hanlon3-Oct-11 0:50 
QuestionSilverlight3, VS2008 Pin
DuttaSandip4U30-Sep-11 23:08
DuttaSandip4U30-Sep-11 23:08 
AnswerRe: Silverlight3, VS2008 Pin
Abhinav S30-Sep-11 23:24
Abhinav S30-Sep-11 23:24 
QuestionSilverlight slider - binding lost when value is out-of-range Pin
Wjousts29-Sep-11 8:41
Wjousts29-Sep-11 8:41 
I have a textblock and a slider* that are both bound to the same value of an object. The value actually represents a physical measurement coming from a device and it's nominally should be between 0 and 400. The problem is that the actual value read my go above or below that value (somewhere from about -5 to 450). This wasn't a problem in WPF, the slider just ignored values above and below the max and min, but in Silverlight it does something rather strange. It appears that if the value being bound to a slider goes above or below the max and min of the slider, the slider simply throws up it's hands (figuratively) and just stops binding. What gives? Is that normal behavior for the slider in Silverlight? I searched, but could find anything online that seems related.

I guess I could just have another property to my class that shadows the real value but caps it at the max and min of the slider, but that seems like an ugly hack around.

(* note: both are using one-way binding and are being used as indicators, not input controls - there are separate controls for that which have their own problems!)
AnswerRe: Silverlight slider - binding lost when value is out-of-range Pin
killabyte29-Sep-11 17:23
killabyte29-Sep-11 17:23 
GeneralRe: Silverlight slider - binding lost when value is out-of-range Pin
BobJanova30-Sep-11 4:45
BobJanova30-Sep-11 4:45 
GeneralRe: Silverlight slider - binding lost when value is out-of-range Pin
Wjousts30-Sep-11 10:08
Wjousts30-Sep-11 10:08 
GeneralRe: Silverlight slider - binding lost when value is out-of-range Pin
Wjousts30-Sep-11 9:55
Wjousts30-Sep-11 9:55 
QuestionWPF combobox selecteditem issue Pin
PretzelB29-Sep-11 5:34
PretzelB29-Sep-11 5:34 
AnswerRe: WPF combobox selecteditem issue Pin
Ian Shlasko29-Sep-11 5:57
Ian Shlasko29-Sep-11 5:57 
GeneralRe: WPF combobox selecteditem issue Pin
PretzelB29-Sep-11 6:19
PretzelB29-Sep-11 6:19 
GeneralRe: WPF combobox selecteditem issue Pin
Ian Shlasko29-Sep-11 8:43
Ian Shlasko29-Sep-11 8:43 
GeneralRe: WPF combobox selecteditem issue Pin
PretzelB29-Sep-11 9:31
PretzelB29-Sep-11 9:31 
GeneralRe: WPF combobox selecteditem issue Pin
Ian Shlasko29-Sep-11 10:32
Ian Shlasko29-Sep-11 10:32 
AnswerRe: WPF combobox selecteditem issue Pin
Simon Bang Terkildsen29-Sep-11 8:07
Simon Bang Terkildsen29-Sep-11 8:07 
GeneralRe: WPF combobox selecteditem issue Pin
PretzelB29-Sep-11 9:27
PretzelB29-Sep-11 9:27 
QuestionHow to use WPF to implement multi-pen drawing? Pin
rehuo28-Sep-11 21:58
rehuo28-Sep-11 21:58 
AnswerRe: How to use WPF to implement multi-pen drawing? Pin
rehuo5-Oct-11 20:02
rehuo5-Oct-11 20:02 
QuestionHow to get WM_Gesture messages in WPF4.0 touch aware application? Pin
manil kumar28-Sep-11 21:15
manil kumar28-Sep-11 21:15 
QuestionListBox Binding Pin
Samir.Sh28-Sep-11 20:46
Samir.Sh28-Sep-11 20:46 
GeneralRe: ListBox Binding Pin
Samir.Sh29-Sep-11 20:16
Samir.Sh29-Sep-11 20:16 

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.