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 | (Inherited from Object.) | |
Finalize | (Inherited from Object.) | |
GetHashCode | (Inherited from Object.) | |
GetType | (Inherited from Object.) | |
Maintain |
Brings the view up to date with its source data.
|
|
MemberwiseClone | (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 | (Inherited from Object.) |
Properties
Name | Description | |
---|---|---|
Count |
Gets the total number of elements in the view.
|
|
CurrentItem |
Gets the current item in the view.
|
|
DataBindingMode |
Gets or sets the data binding mode for this 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.
|