views:

10

answers:

0

hi, i am using dictionaries in WPF. i have two bitmap image in it with name something like image1 and image2

now in forms, i like to set them to single image control depending on condition, some times image1 and sometimes image2. so how i set the source dynamically, in dictonary i have

UriSource="/wpf1;component/images/infobarGreen.png" /> UriSource="/wpf1;component/images/infobarRed.png" />