Click here to Skip to main content
12,350,134 members (26,531 online)

Silverlight / WPF

 
GeneralRe: WPF Command Binding Problem Pin
Pete O'Hanlon1-Aug-12 0:52
protectorPete O'Hanlon1-Aug-12 0:52 
GeneralRe: WPF Command Binding Problem Pin
SledgeHammer011-Aug-12 13:20
memberSledgeHammer011-Aug-12 13:20 
GeneralRe: WPF Command Binding Problem Pin
Pete O'Hanlon2-Aug-12 6:38
protectorPete O'Hanlon2-Aug-12 6:38 
GeneralRe: WPF Command Binding Problem Pin
Pete O'Hanlon25-Jul-12 21:46
protectorPete O'Hanlon25-Jul-12 21:46 
GeneralRe: WPF Command Binding Problem [UPDATE] Pin
Kevin Marois31-Jul-12 10:55
memberKevin Marois31-Jul-12 10:55 
GeneralRe: WPF Command Binding Problem Pin
vinodkrebc26-Jul-12 8:40
membervinodkrebc26-Jul-12 8:40 
QuestionInflating color value Pin
Prasoon Chaudhary25-Jul-12 1:59
memberPrasoon Chaudhary25-Jul-12 1:59 
AnswerRe: Inflating color value Pin
Tony Richards25-Jul-12 2:54
memberTony Richards25-Jul-12 2:54 
What exactly is going wrong? Are you getting an exception or a compiler error or is it just not doing what you expect?

One possible issue I can see is an overflow of the colour component. For example, with a byte, if you add 10 to 255 you'll actually end up with 9, and Math.Min won't work as you expect. You can catch this problem by surrounding the code with a checked statement, which will cause the runtime to throw on an overflow.

The quickest solution to this would be to cast the byte to an int first, do the addition, and cast the result back to a byte (once you're certain it'll fit).
GeneralRe: Inflating color value Pin
Prasoon Chaudhary25-Jul-12 23:21
memberPrasoon Chaudhary25-Jul-12 23:21 
AnswerRe: Inflating color value Pin
Christian Amado2-Aug-12 9:19
memberChristian Amado2-Aug-12 9:19 
GeneralReg: Sending multiple objects from WCF service to silverlight Pin
Domain admin fsl24-Jul-12 21:00
memberDomain admin fsl24-Jul-12 21:00 
GeneralRe: Reg: Sending multiple objects from WCF service to silverlight Pin
Abhinav S24-Jul-12 21:52
mvpAbhinav S24-Jul-12 21:52 
QuestionAuthentication on DomainService Pin
Christian Amado24-Jul-12 11:31
memberChristian Amado24-Jul-12 11:31 
Questiongetting color value of pixel from outside of WPF Mainwindow Pin
Prasoon Chaudhary24-Jul-12 1:24
memberPrasoon Chaudhary24-Jul-12 1:24 
QuestionWhen WPF manipulation is ON, ListBox SelectionChanged event isn't fired Pin
monolicciolo24-Jul-12 1:04
membermonolicciolo24-Jul-12 1:04 
GeneralHow to get all Office version installed using SilverLight Pin
dinhHaTinh22-Jul-12 17:43
memberdinhHaTinh22-Jul-12 17:43 
GeneralRe: How to get all Office version installed by SilverLight Pin
Mycroft Holmes22-Jul-12 19:03
memberMycroft Holmes22-Jul-12 19:03 
AnswerRe: How to get all Office version installed using SilverLight Pin
Christian Amado23-Jul-12 2:59
memberChristian Amado23-Jul-12 2:59 
GeneralRe: How to get all Office version installed using SilverLight Pin
dinhHaTinh31-Jul-12 23:13
memberdinhHaTinh31-Jul-12 23:13 
GeneralRe: How to get all Office version installed using SilverLight Pin
Ed Hill _5_3-Aug-12 4:22
memberEd Hill _5_3-Aug-12 4:22 
GeneralHow to bind inverse boolean properties? - [Answered] Pin
Alisaunder22-Jul-12 13:23
memberAlisaunder22-Jul-12 13:23 
GeneralRe: How to bind inverse boolean properties? Pin
Mycroft Holmes22-Jul-12 18:07
memberMycroft Holmes22-Jul-12 18:07 
GeneralRe: How to bind inverse boolean properties? Pin
Alisaunder22-Jul-12 18:28
memberAlisaunder22-Jul-12 18:28 
GeneralRe: How to bind inverse boolean properties? Pin
Mycroft Holmes22-Jul-12 19:02
memberMycroft Holmes22-Jul-12 19:02 
GeneralRe: How to bind inverse boolean properties? Pin
Alisaunder23-Jul-12 3:58
memberAlisaunder23-Jul-12 3:58 

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.


Advertise | Privacy | Mobile
Web02 | 2.8.160621.1 | Last Updated 24 Jun 2016
Copyright © CodeProject, 1999-2016
All Rights Reserved. Terms of Service
Layout: fixed | fluid