The View type exposes the following members.

Methods

  Name Description
Public method Static member AllowInResult
Specifies that a type with non-virtual properties can be used in a result selector.
Public method AsCollectionViewFactory
Returns an instance of ICollectionViewFactory that can be used as a source of a CollectionViewSource.
Public method AsDynamic
Used for views with anonymous type constructor as the result selector, converts the View to a View<dynamic> so it can be used for data binding and programmatic access.
Public method DeferMaintenance
Enters a defer cycle that you can use to make bulk changes to the view sources and delay automatic view maintenance.
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 the Object 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 Maintain
Brings the view up to date with its source data.
Protected method MemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public method PurgeEmptyGroups
Remove empty groups from a grouping view.
Public method Rebuild
Re-populates the view by re-executing the view's query.
Public method SetTransaction
Sets the value of the Transaction property.
Public method ToString
Returns a string that represents the current object.
(Inherited from Object.)

Properties

  Name Description
Public property Count
Gets the total number of elements in the view.
Public property CurrentItem
Gets the current item in the view.
Public property DeferredMaintenance
Gets the effective value of MaintenanceMode.
Public property IsReadOnly
Gets a value indicating whether this view is read-only, not updatable.
Public property MaintenanceMode
Gets or sets a value controlling how the view is synchronized with changes in its base data.
Public property MoveToFirstOnReset
Gets or sets a value indicating that the first item must be made current after initial loading or reset (on any Reset notification) if current item was not set by other means. The default is True.
Public property Order
Gets a value indicating whether and how this view preserves item order if it exists in its base data source.
Public property Rows
Gets the collection of ViewRow objects used for programmatic access to view elements (items) and for data binding.
Public property Transaction
Gets an instance of ITransaction associated with the view. If a view has a transaction associated with it, that transaction's scope is opened automatically every time the view is updated, so the programmer does not need to do it manually in code.

Explicit Interface Implementations

See Also