The View type exposes the following members.
Methods
Name | Description | |
---|---|---|
AllowInResult |
Specifies that a type with non-virtual properties can be used in a result selector.
|
|
AsCollectionViewFactory |
Returns an instance of ICollectionViewFactory that can be used as a
source of a CollectionViewSource.
|
|
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.
|
|
DeferMaintenance |
Enters a defer cycle that you can use to make bulk changes to the view sources and delay automatic view maintenance.
|
|
Equals |
Determines whether the specified Object is equal to the current Object. (Inherited from Object.) |
|
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.) |
|
GetHashCode |
Serves as a hash function for a particular type. (Inherited from Object.) |
|
GetType |
Gets the Type of the current instance. (Inherited from Object.) |
|
Maintain |
Brings the view up to date with its source data.
|
|
MemberwiseClone |
Creates a shallow copy of the current Object. (Inherited from Object.) |
|
PurgeEmptyGroups |
Remove empty groups from a grouping view.
|
|
Rebuild |
Re-populates the view by re-executing the view's query.
|
|
SetTransaction |
Sets the value of the Transaction property.
|
|
ToString |
Returns a string that represents the current object. (Inherited from Object.) |
Properties
Name | Description | |
---|---|---|
Count |
Gets the total number of elements in the view.
|
|
CurrentItem |
Gets the current item in the view.
|
|
DeferredMaintenance |
Gets the effective value of MaintenanceMode.
|
|
IsReadOnly |
Gets a value indicating whether this view is read-only, not updatable.
|
|
MaintenanceMode |
Gets or sets a value controlling how the view is synchronized with changes in its base data.
|
|
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.
|
|
Order |
Gets a value indicating whether and how this view preserves item order if it exists in its base data source.
|
|
Rows |
Gets the collection of ViewRow objects used for programmatic access to view elements (items) and for data binding.
|
|
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.
|