This documentation is archived and is not being maintained.

ObjectDataProvider Members

Wraps and creates an object that you can use as a binding source.

The ObjectDataProvider type exposes the following members.

  NameDescription
Public method ObjectDataProvider Initializes a new instance of the ObjectDataProvider class.
Top

  NameDescription
Protected method BeginInit Indicates that initialization of this object is about to begin; no implicit Refresh occurs until the matched EndInit method is called. (Inherited from DataSourceProvider.)
Protected method BeginQuery Starts to create the requested object, either immediately or on a background thread, based on the value of the IsAsynchronous property. (Overrides DataSourceProvider.BeginQuery().)
Public method DeferRefresh Enters a defer cycle that you can use to change properties of the provider and delay automatic refresh. (Inherited from DataSourceProvider.)
Protected method EndInit Indicates that the initialization of this object has completed; this causes a Refresh if no other DeferRefresh is outstanding. (Inherited from DataSourceProvider.)
Public method Equals Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetType Gets the type of the current instance. (Inherited from Object.)
Public method InitialLoad Starts the initial query to the underlying data model. The result is returned on the Data property. (Inherited from DataSourceProvider.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Protected method OnPropertyChanged Raises the PropertyChanged event with the provided arguments. (Inherited from DataSourceProvider.)
Protected method OnQueryFinished Overloaded. Derived classes call this method to indicate that a query has finished.
Public method Refresh Initiates a refresh operation to the underlying data model. The result is returned on the Data property. (Inherited from DataSourceProvider.)
Public method ShouldSerializeConstructorParameters Indicates whether the ConstructorParameters property should be persisted.
Public method ShouldSerializeMethodParameters Indicates whether the MethodParameters property should be persisted.
Public method ShouldSerializeObjectInstance Indicates whether the ObjectInstance property should be persisted.
Public method ShouldSerializeObjectType Indicates whether the ObjectType property should be persisted.
Public method ToString Returns a string that represents the current object. (Inherited from Object.)
Top

  NameDescription
Public property ConstructorParameters Gets the list of parameters to pass to the constructor.
Public property Data Gets the underlying data object. (Inherited from DataSourceProvider.)
Protected property Dispatcher Gets or sets the current Dispatcher object to the UI thread to use. (Inherited from DataSourceProvider.)
Public property Error Gets the error of the last query operation. (Inherited from DataSourceProvider.)
Public property IsAsynchronous Gets or sets a value that indicates whether to perform object creation in a worker thread or in the active context.
Public property IsInitialLoadEnabled Gets or sets a value that indicates whether to prevent or delay the automatic loading of data. (Inherited from DataSourceProvider.)
Protected property IsRefreshDeferred Gets a value that indicates whether there is an outstanding DeferRefresh in use. (Inherited from DataSourceProvider.)
Public property MethodName Gets or sets the name of the method to call.
Public property MethodParameters Gets the list of parameters to pass to the method.
Public property ObjectInstance Gets or sets the object used as the binding source.
Public property ObjectType Gets or sets the type of object to create an instance of.
Top

  NameDescription
Public event DataChanged Occurs when the Data property has a new value. (Inherited from DataSourceProvider.)
Protected event PropertyChanged Occurs when a property value changes. (Inherited from DataSourceProvider.)
Top

  NameDescription
Explicit interface implemetation Private method ISupportInitialize.BeginInit This member supports the Windows Presentation Foundation (WPF) infrastructure and is not intended to be used directly from your code. (Inherited from DataSourceProvider.)
Explicit interface implemetation Private method ISupportInitialize.EndInit This member supports the Windows Presentation Foundation (WPF) infrastructure and is not intended to be used directly from your code. (Inherited from DataSourceProvider.)
Explicit interface implemetation Private event INotifyPropertyChanged.PropertyChanged Occurs when a property value changes. (Inherited from DataSourceProvider.)
Top
Show: