WPF Equivalent of ComboBox.FindString

  • Thread starter Thread starter commanderjason
  • Start date Start date
C

commanderjason

I am converting a .net winforms app to wpf

I make use of the System.Windows.Forms.ComboBox.FindString but am
unable to find anything that accomplishes that in the
System.Windows.Controls.ComboBox

Currently I have to iterate through each item and check them manually.
I'm thinking there must be a better way, but the msdn docs seem to
fall short of addressing this issue.

Any suggestions are appreciated - thx
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top