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 (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Public method Maintain
Brings the view up to date with its source data.
Protected method MemberwiseClone (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 (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 DataBindingMode
Gets or sets the data binding mode for this 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

  Name Description
Explicit interface implemetation Private method IList..::..Add
Explicit interface implemetation Private method IEditableCollectionView..::..AddNew
Explicit interface implemetation Private property IEditableCollectionView..::..CanAddNew
Explicit interface implemetation Private property IEditableCollectionView..::..CanCancelEdit
Explicit interface implemetation Private method IEditableCollectionView..::..CancelEdit
Explicit interface implemetation Private method IEditableCollectionView..::..CancelNew
Explicit interface implemetation Private property ICollectionView..::..CanFilter
Explicit interface implemetation Private property ICollectionView..::..CanGroup
Explicit interface implemetation Private property IEditableCollectionView..::..CanRemove
Explicit interface implemetation Private property ICollectionView..::..CanSort
Explicit interface implemetation Private method IList..::..Clear
Explicit interface implemetation Private event INotifyCollectionChanged..::..CollectionChanged
Explicit interface implemetation Private method IEditableCollectionView..::..CommitEdit
Explicit interface implemetation Private method IEditableCollectionView..::..CommitNew
Explicit interface implemetation Private method IList..::..Contains
Explicit interface implemetation Private method ICollectionView..::..Contains
Explicit interface implemetation Private property IListSource..::..ContainsListCollection
Explicit interface implemetation Private method ICollection..::..CopyTo
Explicit interface implemetation Private property ICollectionView..::..Culture
Explicit interface implemetation Private property IEditableCollectionView..::..CurrentAddItem
Explicit interface implemetation Private event ICollectionView..::..CurrentChanged
Explicit interface implemetation Private event ICollectionView..::..CurrentChanging
Explicit interface implemetation Private property IEditableCollectionView..::..CurrentEditItem
Explicit interface implemetation Private property ICollectionView..::..CurrentItem
Explicit interface implemetation Private property ICollectionView..::..CurrentPosition
Explicit interface implemetation Private method ICollectionView..::..DeferRefresh
Explicit interface implemetation Private method IDisposable..::..Dispose
Explicit interface implemetation Private method IEditableCollectionView..::..EditItem
Explicit interface implemetation Private property ICollectionView..::..Filter
Explicit interface implemetation Private method IEnumerable..::..GetEnumerator
Explicit interface implemetation Private method ITypedList..::..GetItemProperties
Explicit interface implemetation Private method IListSource..::..GetList
Explicit interface implemetation Private method ITypedList..::..GetListName
Explicit interface implemetation Private property ICollectionView..::..GroupDescriptions
Explicit interface implemetation Private property ICollectionView..::..Groups
Explicit interface implemetation Private method IList..::..IndexOf
Explicit interface implemetation Private method IList..::..Insert
Explicit interface implemetation Private property IEditableCollectionView..::..IsAddingNew
Explicit interface implemetation Private property ICollectionView..::..IsCurrentAfterLast
Explicit interface implemetation Private property ICollectionView..::..IsCurrentBeforeFirst
Explicit interface implemetation Private property IEditableCollectionView..::..IsEditingItem
Explicit interface implemetation Private property ICollectionView..::..IsEmpty
Explicit interface implemetation Private property IList..::..IsFixedSize
Explicit interface implemetation Private property ICollection..::..IsSynchronized
Explicit interface implemetation Private property IList..::..Item
Explicit interface implemetation Private property IItemProperties..::..ItemProperties
Explicit interface implemetation Private method ICollectionView..::..MoveCurrentTo
Explicit interface implemetation Private method ICollectionView..::..MoveCurrentToFirst
Explicit interface implemetation Private method ICollectionView..::..MoveCurrentToLast
Explicit interface implemetation Private method ICollectionView..::..MoveCurrentToNext
Explicit interface implemetation Private method ICollectionView..::..MoveCurrentToPosition
Explicit interface implemetation Private method ICollectionView..::..MoveCurrentToPrevious
Explicit interface implemetation Private property IEditableCollectionView..::..NewItemPlaceholderPosition
Explicit interface implemetation Private event INotifyPropertyChanged..::..PropertyChanged
Explicit interface implemetation Private method ICollectionView..::..Refresh
Explicit interface implemetation Private method IList..::..Remove
Explicit interface implemetation Private method IEditableCollectionView..::..Remove
Explicit interface implemetation Private method IList..::..RemoveAt
Explicit interface implemetation Private method IEditableCollectionView..::..RemoveAt
Explicit interface implemetation Private property ICollectionView..::..SortDescriptions
Explicit interface implemetation Private property ICollectionView..::..SourceCollection
Explicit interface implemetation Private property ICollection..::..SyncRoot

See Also