Click here to Skip to main content
15,892,059 members
Home / Discussions / WPF
   

WPF

 
AnswerRe: Need to call third party API from SL 5 Solution Pin
Anumeha Shukla16-Aug-12 2:49
Anumeha Shukla16-Aug-12 2:49 
QuestionCrop and save image in oval shape using silverlight Pin
Anupbala13-Aug-12 19:20
Anupbala13-Aug-12 19:20 
AnswerRe: Crop and save image in oval shape using silverlight Pin
Pete O'Hanlon13-Aug-12 23:04
mvePete O'Hanlon13-Aug-12 23:04 
QuestionWPF ComboBox Binding Problem Pin
Kevin Marois12-Aug-12 10:51
professionalKevin Marois12-Aug-12 10:51 
AnswerRe: WPF ComboBox Binding Problem Pin
Pete O'Hanlon12-Aug-12 11:22
mvePete O'Hanlon12-Aug-12 11:22 
GeneralRe: WPF ComboBox Binding Problem Pin
Kevin Marois12-Aug-12 11:40
professionalKevin Marois12-Aug-12 11:40 
GeneralRe: WPF ComboBox Binding Problem Pin
Pete O'Hanlon13-Aug-12 4:08
mvePete O'Hanlon13-Aug-12 4:08 
GeneralRe: WPF ComboBox Binding Problem Pin
Kevin Marois12-Aug-12 11:47
professionalKevin Marois12-Aug-12 11:47 
I figured it out.

1) Set the bindng to just Caption.

2) In the VM I did:

private void loadAddress()
{
    Street1 = Address.Street1;
    Street2 = Address.Street2;
    City = Address.City;
    State = Address.State;
    ZipCode = Address.ZipCode;
    var addressType = (from at in AddressTypes
                        where at.Id == Address.AddressType.Id
                        select at).FirstOrDefault();
    SelectedAddressType = addressType;
}


I was hoping to do it just with bindings, but this works.
If it's not broken, fix it until it is

QuestionTreeView Control Item Styling Pin
Andy_L_J12-Aug-12 2:38
Andy_L_J12-Aug-12 2:38 
AnswerRe: TreeView Control Item Styling Pin
SledgeHammer0113-Aug-12 10:25
SledgeHammer0113-Aug-12 10:25 
GeneralGroupbox visibility problem in WPF after debugging and changing the combobox value Pin
karthik bandaru8-Aug-12 23:24
karthik bandaru8-Aug-12 23:24 
GeneralRe: Groupbox visibility problem in WPF after debugging and changing the combobox value Pin
Ed Hill _5_9-Aug-12 0:06
Ed Hill _5_9-Aug-12 0:06 
GeneralRe: Groupbox visibility problem in WPF after debugging and changing the combobox value Pin
karthik bandaru9-Aug-12 0:23
karthik bandaru9-Aug-12 0:23 
GeneralRe: Groupbox visibility problem in WPF after debugging and changing the combobox value Pin
Ed Hill _5_9-Aug-12 0:31
Ed Hill _5_9-Aug-12 0:31 
GeneralRe: Groupbox visibility problem in WPF after debugging and changing the combobox value Pin
karthik bandaru9-Aug-12 0:42
karthik bandaru9-Aug-12 0:42 
GeneralRe: Groupbox visibility problem in WPF after debugging and changing the combobox value Pin
Ed Hill _5_9-Aug-12 0:56
Ed Hill _5_9-Aug-12 0:56 
GeneralRe: Groupbox visibility problem in WPF after debugging and changing the combobox value Pin
Ed Hill _5_9-Aug-12 0:47
Ed Hill _5_9-Aug-12 0:47 
GeneralRe: Groupbox visibility problem in WPF after debugging and changing the combobox value Pin
karthik bandaru9-Aug-12 0:50
karthik bandaru9-Aug-12 0:50 
GeneralRe: Groupbox visibility problem in WPF after debugging and changing the combobox value Pin
karthik bandaru9-Aug-12 2:10
karthik bandaru9-Aug-12 2:10 
GeneralRe: Groupbox visibility problem in WPF after debugging and changing the combobox value Pin
Ed Hill _5_9-Aug-12 2:24
Ed Hill _5_9-Aug-12 2:24 
SuggestionRegarding MVVM framework for WPF Pin
Member 92251325-Aug-12 3:55
Member 92251325-Aug-12 3:55 
GeneralRe: Regarding MVVM framework for WPF Pin
Richard MacCutchan5-Aug-12 6:55
mveRichard MacCutchan5-Aug-12 6:55 
GeneralWPF Update UI When Collection Changes Pin
Kevin Marois1-Aug-12 11:05
professionalKevin Marois1-Aug-12 11:05 
GeneralRe: WPF Update UI When Collection Changes Pin
Pete O'Hanlon1-Aug-12 11:44
mvePete O'Hanlon1-Aug-12 11:44 
GeneralRe: WPF Update UI When Collection Changes Pin
Kevin Marois1-Aug-12 11:52
professionalKevin Marois1-Aug-12 11:52 

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.