Click here to Skip to main content
15,893,663 members
Home / Discussions / WPF
   

WPF

 
AnswerRe: animation Pin
Pete O'Hanlon28-Feb-10 22:51
mvePete O'Hanlon28-Feb-10 22:51 
GeneralRe: animation Pin
Ahamed Azeem1-Mar-10 1:24
Ahamed Azeem1-Mar-10 1:24 
GeneralRe: animation Pin
Pete O'Hanlon1-Mar-10 1:48
mvePete O'Hanlon1-Mar-10 1:48 
QuestionIs it good idea to use SL for message board Pin
EugeneAA27-Feb-10 18:45
EugeneAA27-Feb-10 18:45 
AnswerRe: Is it good idea to use SL for message board Pin
Abhinav S28-Feb-10 0:50
Abhinav S28-Feb-10 0:50 
AnswerRe: Is it good idea to use SL for message board Pin
GomathiR28-Feb-10 21:30
GomathiR28-Feb-10 21:30 
QuestionHow to change WPF Image on run time ? Pin
Yanshof27-Feb-10 9:50
Yanshof27-Feb-10 9:50 
AnswerRe: How to change WPF Image on run time ? Pin
Pete O'Hanlon27-Feb-10 10:07
mvePete O'Hanlon27-Feb-10 10:07 
If you don't want to go down the MVVM route, there's no reason you can't name your image control and update the image directly in your load image handler. Here's an example of how to actually load the image (in C#):
public ImageSource LoadImage(string imageSource)
{
  src.BeginInit();
  src.UriSource = new Uri(imageSource, UriKind.RelativeOrAbsolute);
  src.CacheOption = BitmapCacheOption.OnLoad;
  src.EndInit();
  return src;
}

"WPF has many lovers. It's a veritable porn star!" - Josh Smith

As Braveheart once said, "You can take our freedom but you'll never take our Hobnobs!" - Martin Hughes.


My blog | My articles | MoXAML PowerToys | Onyx



QuestionBest container or control for a Card object for a card game in WPF Pin
czuhars5627-Feb-10 9:47
czuhars5627-Feb-10 9:47 
QuestionSilverlight for Windows Application Forms...? VB.Net 2008 Pin
Paramu197326-Feb-10 19:13
Paramu197326-Feb-10 19:13 
AnswerRe: Silverlight for Windows Application Forms...? VB.Net 2008 Pin
Not Active27-Feb-10 2:26
mentorNot Active27-Feb-10 2:26 
QuestionIs it Possible in XAML [modified] Pin
Joe Rozario26-Feb-10 0:02
Joe Rozario26-Feb-10 0:02 
AnswerRe: Is it Possible in XAML Pin
Pete O'Hanlon26-Feb-10 0:10
mvePete O'Hanlon26-Feb-10 0:10 
GeneralRe: Is it Possible in XAML Pin
Joe Rozario26-Feb-10 0:13
Joe Rozario26-Feb-10 0:13 
QuestionHow to specify URI for file protocol properly? Pin
Jun Du25-Feb-10 5:30
Jun Du25-Feb-10 5:30 
AnswerRe: How to specify URI for file protocol properly? Pin
Daniel Vaughan25-Feb-10 7:17
Daniel Vaughan25-Feb-10 7:17 
GeneralRe: How to specify URI for file protocol properly? Pin
Jun Du25-Feb-10 7:43
Jun Du25-Feb-10 7:43 
QuestionCould not download the Silverlight application... Pin
Jun Du25-Feb-10 3:38
Jun Du25-Feb-10 3:38 
AnswerRe: Could not download the Silverlight application... Pin
Ray Cassick25-Feb-10 4:49
Ray Cassick25-Feb-10 4:49 
AnswerRe: Could not download the Silverlight application... Pin
Jun Du25-Feb-10 5:25
Jun Du25-Feb-10 5:25 
QuestionStrange crashes on XP 64 [modified] Pin
marca29224-Feb-10 23:34
marca29224-Feb-10 23:34 
QuestionSilverlight covering absolute DIVs Pin
Matt Cavanagh24-Feb-10 13:06
Matt Cavanagh24-Feb-10 13:06 
AnswerRe: Silverlight covering absolute DIVs Pin
Katka Vaughan25-Feb-10 7:44
Katka Vaughan25-Feb-10 7:44 
QuestionSilverlight breaks when hiding it container with CSS Pin
Matt Cavanagh24-Feb-10 13:00
Matt Cavanagh24-Feb-10 13:00 
QuestionExpression blend 3 (wpf) ebook Pin
Nima.naqipoor24-Feb-10 1:47
Nima.naqipoor24-Feb-10 1:47 

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.