Click here to Skip to main content
15,894,720 members
Home / Discussions / WPF
   

WPF

 
AnswerRe: Gray focus comes on treeview Pin
ABitSmart15-Jun-09 3:35
ABitSmart15-Jun-09 3:35 
GeneralRe: Gray focus comes on treeview Pin
Ravi Mori15-Jun-09 3:52
Ravi Mori15-Jun-09 3:52 
GeneralRe: Gray focus comes on treeview Pin
ABitSmart15-Jun-09 4:07
ABitSmart15-Jun-09 4:07 
QuestionCapture mouse event on slider track [modified] Pin
Christian Graus15-Jun-09 0:19
protectorChristian Graus15-Jun-09 0:19 
AnswerRe: Capture mouse event on slider track Pin
Pete O'Hanlon15-Jun-09 0:21
mvePete O'Hanlon15-Jun-09 0:21 
GeneralRe: Capture mouse event on slider track Pin
Christian Graus15-Jun-09 0:30
protectorChristian Graus15-Jun-09 0:30 
AnswerRe: Capture mouse event on slider track Pin
Pete O'Hanlon15-Jun-09 1:33
mvePete O'Hanlon15-Jun-09 1:33 
QuestionBitmapImage Constructor Overloads Pin
#realJSOP15-Jun-09 0:11
mve#realJSOP15-Jun-09 0:11 
I'm observing some pretty bizarre behavior here. When I do this, it's okay:

BitmapImage img = new BitmapImage(new Uri(System.IO.Path.Combine(this.ImagePath, this.Images[0]), UriKind.Absolute));


However, when I change it to one of these two, the available constructor overloads CHANGE and the one I was using is no longer acceptable by the compiler:

// this doesn't work
string nextFileName = System.IO.Path.Combine(ImagePath, Images[index]);
BitmapImage img = new BitmapImage(new Uri(nextFileName), UriKind.Absolute);


// this doesn't work either
Uri imageUri = new Uri(System.IO.Path.Combine(ImagePath, Images[index]);
BitmapImage img = new BitmapImage(imageUri, UriKind.Absolute);


Why is this?


"Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997
-----
"...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001


AnswerRe: BitmapImage Constructor Overloads Pin
Christian Graus15-Jun-09 0:16
protectorChristian Graus15-Jun-09 0:16 
GeneralRe: BitmapImage Constructor Overloads Pin
Pete O'Hanlon15-Jun-09 0:19
mvePete O'Hanlon15-Jun-09 0:19 
GeneralRe: BitmapImage Constructor Overloads Pin
Christian Graus15-Jun-09 0:45
protectorChristian Graus15-Jun-09 0:45 
AnswerRe: BitmapImage Constructor Overloads Pin
Pete O'Hanlon15-Jun-09 0:16
mvePete O'Hanlon15-Jun-09 0:16 
GeneralRe: BitmapImage Constructor Overloads Pin
#realJSOP15-Jun-09 1:04
mve#realJSOP15-Jun-09 1:04 
QuestionSilverlight 3, WPF will be thrown away then?? Pin
Seraph_summer15-Jun-09 0:03
Seraph_summer15-Jun-09 0:03 
AnswerCross post. Please ignore. Pin
Pete O'Hanlon15-Jun-09 0:13
mvePete O'Hanlon15-Jun-09 0:13 
QuestionWPF Image List viewer problem Pin
ruellm14-Jun-09 23:58
ruellm14-Jun-09 23:58 
AnswerRe: WPF Image List viewer problem Pin
Pete O'Hanlon15-Jun-09 1:19
mvePete O'Hanlon15-Jun-09 1:19 
Questionabout Silverlight 3!! Pin
Seraph_summer14-Jun-09 23:48
Seraph_summer14-Jun-09 23:48 
AnswerCross post. Pin
Pete O'Hanlon15-Jun-09 0:20
mvePete O'Hanlon15-Jun-09 0:20 
GeneralRe: Cross post. Pin
Seraph_summer15-Jun-09 0:25
Seraph_summer15-Jun-09 0:25 
AnswerRe: about Silverlight 3!! Pin
Michael Sync23-Jul-09 20:25
Michael Sync23-Jul-09 20:25 
QuestionAnimation timelines Pin
Christian Graus14-Jun-09 23:20
protectorChristian Graus14-Jun-09 23:20 
AnswerRe: Animation timelines Pin
Pete O'Hanlon14-Jun-09 23:56
mvePete O'Hanlon14-Jun-09 23:56 
GeneralRe: Animation timelines Pin
Christian Graus15-Jun-09 0:14
protectorChristian Graus15-Jun-09 0:14 
GeneralRe: Animation timelines Pin
Pete O'Hanlon15-Jun-09 0:18
mvePete O'Hanlon15-Jun-09 0:18 

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.