Data for Silverlight
DataView Class Members
Properties  Methods  Events

C1.Silverlight.Data Namespace : DataView Class

The following tables list the members exposed by DataView.

Public Constructors
 NameDescription
Public ConstructorOverloaded.   
Top
Public Properties
 NameDescription
Public PropertyGets a value that indicates whether a new item can be added to the collection.  
Public PropertyGets a value that indicates whether the collection view can discard pending changes and restore the original values of an edited object.  
Public PropertyGets a value that indicates whether the System.Windows.Data.PagedCollectionView.PageIndex value can change.  
Public PropertyGets a value that indicates whether this view supports filtering via the Filter property.  
Public PropertyGets a value that indicates whether this view supports grouping via the GroupDescriptions property.  
Public PropertyGets a value that indicates whether an item can be removed from the collection.  
Public PropertyGets a value that indicates whether this view supports sorting via the SortDescriptions property.  
Public PropertyGets the quantity of rows in this view.  
Public PropertyGets or sets the cultural information for any operations of the view that might differ by culture, such as sorting.  
Public PropertyGets the item that is being added when an System.Windows.Data.PagedCollectionView.AddNew() transaction is in progress.  
Public PropertyGets the item in the collection that is being edited when an System.Windows.Data.PagedCollectionView.EditItem(System.Object) transaction is in progress.  
Public PropertyGets the current item in the view.  
Public PropertyGets the ordinal position of the System.Windows.Data.PagedCollectionView.CurrentItem in the view, which might be sorted and filtered.  
Public PropertyGets or sets a callback that is used to determine whether an item is suited for inclusion in the view.  
Public PropertyGets a collection of System.ComponentModel.GroupDescription objects that describe how the items in the collection are grouped in the view.  
Public PropertyGets the top-level groups, constructed according to the descriptions specified in the System.Windows.Data.PagedCollectionView.GroupDescriptions property.  
Public PropertyGets a value that indicates whether an System.Windows.Data.PagedCollectionView.AddNew() transaction is in progress.  
Public PropertyGets a value that indicates whether the System.Windows.Data.PagedCollectionView.CurrentItem of the view is beyond the end of the collection.  
Public PropertyGets a value that indicates whether the System.Windows.Data.PagedCollectionView.CurrentItem of the view is before the start of the collection.  
Public PropertyGets a value that indicates whether an System.Windows.Data.PagedCollectionView.EditItem(System.Object) transaction is in progress.  
Public PropertyGets a value that indicates whether the view is empty.  
Public PropertyGets a value that indicates whether the page index is changing.  
Public PropertyGets the DataRowView item at a given index.  
Public PropertyGets the minimum number of items known to be in the source collection that satisfy the current filter.  
Public PropertyGets or sets a value that indicates whether to include a new item placeholder in the collection view, and where to include it.  
Public PropertyGets the zero-based index of the current page.  
Public PropertyGets or sets the number of items to display on a page.  
Public PropertyGets or sets a string that specifies which rows should be included in this DataView.  
Public PropertyGets or sets a string that specifies the columns used to sort this DataView.  
Public PropertyGets a collection of System.ComponentModel.SortDescription objects that describe how the items in the collection are sorted in the view.  
Public PropertyGets the System.Collections.IEnumerable collection underlying this view.  
Public PropertyGets or sets the DataTable that provides data for this DataView.  
Public PropertyGets the total number of items in the view before paging is applied.  
Top
Public Methods
 NameDescription
Public MethodAdds a new item to the underlying collection.  
Public MethodEnds the edit transaction and, if it is possible, restores the original value of the item.  
Public MethodEnds the add transaction and discards the pending new item.  
Public MethodEnds the edit transaction and saves the pending changes.  
Public MethodEnds the add transaction and saves the pending new item.  
Public MethodReturns a value that indicates whether the specified item belongs to this view.  
Public MethodEnters a defer cycle that you can use to merge changes to the view and delay automatic refresh.  
Public MethodBegins an edit transaction on the specified item.  
Public MethodReturns an System.Collections.IEnumerator object that you can use to enumerate the items in the view.  
Public MethodSets the specified item to be the System.Windows.Data.PagedCollectionView.CurrentItem in the view.  
Public MethodSets the first item in the view as the System.Windows.Data.PagedCollectionView.CurrentItem.  
Public MethodSets the last item in the view as the System.Windows.Data.PagedCollectionView.CurrentItem.  
Public MethodSet the item after the System.Windows.Data.PagedCollectionView.CurrentItem in the view as the System.Windows.Data.PagedCollectionView.CurrentItem.  
Public MethodSets the item at the specified index to be the System.Windows.Data.PagedCollectionView.CurrentItem in the view.  
Public MethodSets the item before the System.Windows.Data.PagedCollectionView.CurrentItem in the view as the System.Windows.Data.PagedCollectionView.CurrentItem.  
Public MethodSets the first page as the current page.  
Public MethodSets the last page as the current page.  
Public MethodSets the next page as the current page.  
Public MethodMoves to the page at the specified index.  
Public MethodSets the previous page as the current page.  
Public MethodRe-creates the view.  
Public MethodRemoves the specified item from the collection.  
Public MethodRemoves the item at the specified position from the collection.  
Top
Public Events
 NameDescription
Public EventOccurs when the collection has changed.  
Public EventFired after the current item has been changed.  
Public EventFired before changing the current item. Event handler can cancel this event.  
Public EventOccurs after the System.Windows.Data.PagedCollectionView.PageIndex has changed.  
Public EventOccurs when the System.Windows.Data.PagedCollectionView.PageIndex is changing.  
Public EventOccurs when a property value changes.  
Top
See Also

Reference

DataView Class
C1.Silverlight.Data Namespace