Difference between SelectedItem, SelectedValue and SelectedValuePath

What is the difference betweeen the following:

  • SelectedItem
  • SelectedValue
  • SelectedValuePath

All these dependency properties are defined in Selector class. I often confuse SelectedItem with SelectedValue , and SelectedValue with SelectedValuePath.

I would like to know the difference between them, and also when do we use them, especially SelectedValue and SelectedValuePath. Please explain their use with some simple examples.

5 Answers
5

Leave a Comment