In what way is an ObjectDataProvider useful?

Platform: WPF|Category: DataBinding

ObjectDataProvider is a class that wraps your source object to provide some extra functionality.

The following are the distinguishing capabilities of ObjectDataProvider.

  • Passing parameters to the constructor.

  • Binding to a method (with or without parameters).

  • Replacing the source object.

  • Creating the source object asynchronously.