Home > other >  WPF small white for help how to set the ComBox selected by default
WPF small white for help how to set the ComBox selected by default

Time:09-21

A is the User
B for UserTpye List B is A foreign key
Now change A how to set A Combox selected according to the B
Is how to set up the KEY value set selected

CodePudding user response:

Set the value of SelectItem is ok

CodePudding user response:

The most stupid method is directly through A comboboxItem, when comboboxItem A value equal to B, set this comboboxItem is selected
  • Related