Click here to Skip to main content
15,881,588 members
Home / Discussions / WPF
   

WPF

 
QuestionSilverlight Intellisense Pin
Jammer13-Feb-10 8:49
Jammer13-Feb-10 8:49 
AnswerRe: Silverlight Intellisense Pin
Abhinav S13-Feb-10 9:00
Abhinav S13-Feb-10 9:00 
QuestionIs it possible to add silverlight popup in asp.net code Pin
xodeblack13-Feb-10 4:03
xodeblack13-Feb-10 4:03 
AnswerRe: Is it possible to add silverlight popup in asp.net code Pin
Abhinav S13-Feb-10 7:56
Abhinav S13-Feb-10 7:56 
AnswerRe: Is it possible to add silverlight popup in asp.net code Pin
Kunal Chowdhury «IN»15-Feb-10 20:15
professionalKunal Chowdhury «IN»15-Feb-10 20:15 
GeneralRe: Is it possible to add silverlight popup in asp.net code Pin
xodeblack16-Feb-10 10:46
xodeblack16-Feb-10 10:46 
QuestionProblem in Pausing a Storyboard in WPF ? Pin
Mohammad Dayyan13-Feb-10 1:21
Mohammad Dayyan13-Feb-10 1:21 
AnswerRe: Problem in Pausing a Storyboard in WPF ? Pin
BlitzPackage15-Feb-10 4:33
BlitzPackage15-Feb-10 4:33 
I think you should get a reference to the actual storyboard that's running. What you may be getting a reference to with the code above is that storyboard class, but not the instantiation that's actually running.

In addition, I would suggest using the keyword "as" to perform the cast. Then check to see if the variable is null. The cast you currently use, if it does not work, will throw an exception. The keyword "as" simply returns null if the cast does not work. Also, look into "TryFindResource" as opposed to "FindResource". I believe it works the same way in that it will return null if the resource is not found. Again, check for null before using it. Both of these suggested changes will make your code, in general, more robust.

Let me know if this helps.

Blitz
GeneralRe: Problem in Pausing a Storyboard in WPF ? Pin
Mohammad Dayyan15-Feb-10 5:05
Mohammad Dayyan15-Feb-10 5:05 
QuestionButton not firing in WPF Toolkit datagrid Pin
Member 454056412-Feb-10 8:12
Member 454056412-Feb-10 8:12 
AnswerRe: Button not firing in WPF Toolkit datagrid Pin
AspDotNetDev12-Feb-10 20:41
protectorAspDotNetDev12-Feb-10 20:41 
GeneralRe: Button not firing in WPF Toolkit datagrid Pin
Hannes Larsson17-Feb-10 20:36
Hannes Larsson17-Feb-10 20:36 
GeneralRe: Button not firing in WPF Toolkit datagrid Pin
AspDotNetDev17-Feb-10 21:42
protectorAspDotNetDev17-Feb-10 21:42 
GeneralRe: Button not firing in WPF Toolkit datagrid Pin
Hannes Larsson17-Feb-10 21:53
Hannes Larsson17-Feb-10 21:53 
GeneralRe: Button not firing in WPF Toolkit datagrid Pin
AspDotNetDev17-Feb-10 22:03
protectorAspDotNetDev17-Feb-10 22:03 
GeneralRe: Button not firing in WPF Toolkit datagrid [modified] Pin
Hannes Larsson17-Feb-10 23:03
Hannes Larsson17-Feb-10 23:03 
GeneralRe: Button not firing in WPF Toolkit datagrid Pin
AspDotNetDev17-Feb-10 23:13
protectorAspDotNetDev17-Feb-10 23:13 
GeneralRe: Button not firing in WPF Toolkit datagrid Pin
Hannes Larsson17-Feb-10 23:15
Hannes Larsson17-Feb-10 23:15 
GeneralRe: Button not firing in WPF Toolkit datagrid Pin
AspDotNetDev17-Feb-10 23:42
protectorAspDotNetDev17-Feb-10 23:42 
GeneralRe: Button not firing in WPF Toolkit datagrid Pin
AspDotNetDev18-Feb-10 0:02
protectorAspDotNetDev18-Feb-10 0:02 
GeneralRe: Button not firing in WPF Toolkit datagrid Pin
Hannes Larsson18-Feb-10 1:39
Hannes Larsson18-Feb-10 1:39 
GeneralRe: Button not firing in WPF Toolkit datagrid Pin
Member 454056418-Feb-10 10:10
Member 454056418-Feb-10 10:10 
QuestionSharing Core Objects Between Server & Client Pin
Jammer12-Feb-10 7:57
Jammer12-Feb-10 7:57 
AnswerRe: Sharing Core Objects Between Server & Client Pin
Pete O'Hanlon12-Feb-10 9:33
mvePete O'Hanlon12-Feb-10 9:33 
GeneralRe: Sharing Core Objects Between Server & Client Pin
Jammer13-Feb-10 12:51
Jammer13-Feb-10 12:51 

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.