Xceed DataGrid for WPF v7.2 Documentation
DataGridCollectionView Class Members
Properties  Methods  Events


Xceed.Wpf.DataGrid Assembly > Xceed.Wpf.DataGrid Namespace : DataGridCollectionView Class

The following tables list the members exposed by DataGridCollectionView.

Public Constructors
 NameDescription
Public ConstructorOverloaded. Initializes a new instance of the DataGridCollectionView class.  
Top
Public Properties
 NameDescription
Public PropertyGets a value indicating whether new items can be added to the collection through the AddNew method.  
Public PropertyGets a value indicating whether the detail descriptions are automatically created. (Inherited from Xceed.Wpf.DataGrid.DataGridCollectionViewBase)
Public PropertyGets a value indicating whether the foreign key descriptions are automatically created. (Inherited from DataGridCollectionViewBase)
Public PropertyGets a value indicating whether the item properties are automatically created. (Inherited from DataGridCollectionViewBase)
Public PropertyGets or sets a value indicating how automatic filtering of the data items will be performed. This feature is available only in the Professional Edition (Inherited from DataGridCollectionViewBase)
Public PropertyGets a dictionary that contains a list of the view's DataGridItemProperty objects with their corresponding auto-filter values. This feature is available only in the Professional Edition (Inherited from DataGridCollectionViewBase)
Public PropertyGets a value indicating whether a new item can be added to the collection. (Inherited from DataGridCollectionViewBase)
Public PropertyGets a value indicating whether the collection view supports automatic filtering. (Inherited from DataGridCollectionViewBase)
Public PropertyGets a value indicating whether the collection can discard pending changes and restore the original values of an edited object. (Inherited from DataGridCollectionViewBase)
Public PropertyGets a value indicating whether the view supports filtering. (Inherited from DataGridCollectionViewBase)
Public PropertyGets a value indicating whether the view supports grouping. (Inherited from DataGridCollectionViewBase)
Public PropertyGets a value indicating whether an item can be removed from the collection. (Inherited from DataGridCollectionViewBase)
Public PropertyGets a value indicating whether the view can be sorted. (Inherited from DataGridCollectionViewBase)
Public Property (Inherited from DataGridCollectionViewBase)
Public PropertyOverridden. Gets the number of items in the view.  
Public PropertyGets or sets the culture to use during sorting. (Inherited from DataGridCollectionViewBase)
Public PropertyGets the item that is currently being added to the underlying data source. (Inherited from DataGridCollectionViewBase)
Public PropertyGets the item in the underlying data source that is currently being edited. (Inherited from DataGridCollectionViewBase)
Public PropertyGets the view's current item. (Inherited from DataGridCollectionViewBase)
Public PropertyGets the ordinal position of the CurrentItem within the—optionally sorted and filtered—view. (Inherited from DataGridCollectionViewBase)
Public PropertyGets a collection of DataGridDetailDescription objects that provide information on the details that will be contained in a grid, including sorting, grouping, and child detail descriptions. This feature is available only in the Professional Edition (Inherited from DataGridCollectionViewBase)
Public Property (Inherited from DataGridCollectionViewBase)
Public PropertyGets a dictionary that contains a list of DataGridItemProperty objects with their corresponding distinct values. This feature is available only in the Professional Edition (Inherited from DataGridCollectionViewBase)
Public PropertyGets or sets a value representing the constraint applied to the DistinctValues when automatically filtering data items. This feature is available only in the Professional Edition (Inherited from DataGridCollectionViewBase)
Public Property

Gets or sets the mode that indicates when distinct values used by auto-filtering should be updated.

(Inherited from DataGridCollectionViewBase)
Public PropertyGets or sets a callback used to determine if an item is suitable for inclusion in the view (Inherited from DataGridCollectionViewBase)
Public PropertyGets or sets a value indicating how filters entered into a FilterRow are applied. (Inherited from DataGridCollectionViewBase)
Public PropertyGets a collection of GroupDescription objects that describe how the items in the collection are grouped in the view. (Inherited from DataGridCollectionViewBase)
Public PropertyGets the runtime groups that are created based on the GroupDescriptions. (Inherited from DataGridCollectionViewBase)
Public PropertyGets a value indicating whether an add transaction is in progress. (Inherited from DataGridCollectionViewBase)
Public PropertyGets a value indicating whether the view's CurrentItem is beyond the end of the collection. (Inherited from DataGridCollectionViewBase)
Public PropertyGets a value indicating whether the view's CurrentItem is beyond the beginning of the collection. (Inherited from DataGridCollectionViewBase)
Public PropertyGets a value indicating whether an item in the underlying data source is being edited. (Inherited from DataGridCollectionViewBase)
Public PropertyOverridden. Gets a value indicating whether the filtered view is empty.  
Public Property (Inherited from DataGridCollectionViewBase)
Public PropertyGets the DataGridItemProperty objects that determine the characteristics of the items contained in the view. (Inherited from DataGridCollectionViewBase)
Public PropertyGets the type of the items contained in the collection view or added through the SourceItems property. (Inherited from DataGridCollectionViewBase)
Public PropertyGets a value that indicates whether this view needs to be refreshed. (Inherited from DataGridCollectionViewBase)
Public PropertyGets the parent detail description of the collection view. (Inherited from DataGridCollectionViewBase)
Public PropertyGets a collection of SortDescription objects that describe how the items in the collection are sorted in the view. (Inherited from DataGridCollectionViewBase)
Public PropertyOverridden. Gets the underlying un-filtered collection.  
Public PropertyGets the items that are contained in the SourceCollection.  
Public PropertyGets a collection of the statistical functions whose results can be used by various elements throughout a grid.  
Public PropertyGets or sets a value indicating whether only statistical functions on property values of the data source object that have changed should be updated, instead of recalculating all the statistical functions as soon as only one property value has changed.  
Top
Protected Properties
Public Methods
 NameDescription
Public MethodAdds a new item to the underlying data source. (Inherited from Xceed.Wpf.DataGrid.DataGridCollectionViewBase)
Public MethodCancels the edit process. (Inherited from DataGridCollectionViewBase)
Public MethodDiscards the new item added through a call to the AddNew method before it is committed. (Inherited from DataGridCollectionViewBase)
Public MethodCommits the modifications made to the item in the underlying data source that is being edited. (Inherited from DataGridCollectionViewBase)
Public MethodCommits the new item to the underlying data source. (Inherited from DataGridCollectionViewBase)
Public MethodOverridden. Returns a value indicating whether the specified item exists in the collection.  
Public MethodEnables the processing of batch updates to source items (e.g. via a call to ResetItem() in a loop), and waits until all items have been processed before recalculating StatFunctions at group levels.  
Public MethodEnters a defer cycle that you can use to merge changes to the view and delay automatic refresh. (Inherited from DataGridCollectionViewBase)
Public Method (Inherited from DataGridCollectionViewBase)
Public MethodEdits the specified item in the underlying data source. (Inherited from DataGridCollectionViewBase)
Public MethodRetrieves the distinct values for the column that has the specified field name. This feature is available only in the Professional Edition (Inherited from DataGridCollectionViewBase)
Public MethodOverridden. Retrieves the item at the specified index in the view.  
Public MethodOverridden. Returns the zero-based index of the specified item.  
Public MethodSets the specified item as the new CurrentItem. (Inherited from DataGridCollectionViewBase)
Public MethodSets the first item in the view as the new CurrentItem. (Inherited from DataGridCollectionViewBase)
Public MethodSets the last item in the view as the new CurrentItem. (Inherited from DataGridCollectionViewBase)
Public MethodSets the next item in the view as the new CurrentItem. (Inherited from DataGridCollectionViewBase)
Public MethodOverridden. Sets the item at the specified index as the new CurrentItem.  
Public MethodSets the previous item in the view as the new CurrentItem. (Inherited from DataGridCollectionViewBase)
Public MethodReturns a value indicating whether the specified item in the underlying data source passes the filtering criteria, and is therefore included in the view. (Inherited from DataGridCollectionViewBase)
Public MethodRecreates the view. (Inherited from DataGridCollectionViewBase)
Public MethodRefreshes the distinct values of the passed field name.  
Public MethodOverloaded. Allows refreshing all values associated to a DataGridUnboundItemProperty on the data object or list passed in parameter without having to refresh the whole DataGridCollectionView.  
Public MethodRemoves the specified item from the underlying data source. (Inherited from DataGridCollectionViewBase)
Public MethodOverridden. Removes the item at the specified index from the underlying data source.  
Public MethodEnsures an item is re-grouped, re-sorted, and re-filtered, and that its associated StatFunction is recalculated.  
Public MethodEnsures items are re-grouped, re-sorted, re-filtered, and their associated StatFunction recalculated.  
Top
Protected Methods
 NameDescription
Protected Method (Inherited from System.Windows.Data.CollectionView)
Protected MethodOverridden. Retrieves an object that can be used to enumerate the items in the view.  
Protected Method (Inherited from DataGridCollectionViewBase)
Protected Method (Inherited from DataGridCollectionViewBase)
Protected MethodOverloaded. Raises the CollectionChanged event. (Inherited from DataGridCollectionViewBase)
Protected Method (Inherited from DataGridCollectionViewBase)
Protected MethodOverloaded.  (Inherited from DataGridCollectionViewBase)
Protected Method (Inherited from DataGridCollectionViewBase)
Protected MethodInvoked whenever a WeakEventManager delivers the event being managed by the class. (Inherited from DataGridCollectionViewBase)
Protected Method (Inherited from DataGridCollectionViewBase)
Protected Method (Inherited from DataGridCollectionViewBase)
Protected Method (Inherited from DataGridCollectionViewBase)
Protected Method (Inherited from DataGridCollectionViewBase)
Protected MethodOverloaded.  (Inherited from DataGridCollectionViewBase)
Top
Public Events
 NameDescription
Public Event

Occurs after the AutoFilterValues of the DataGridItemProperty of a detail level changes.

(Inherited from Xceed.Wpf.DataGrid.DataGridCollectionViewBase)
Public EventRaised when the EditItem method has been called to signal that the edit process of an item in the underlying data source is about to begin. (Inherited from DataGridCollectionViewBase)
Public EventRaised when the CancelEdit method has been called to signal that the edit process of an item in the underlying data source is about to be canceled. (Inherited from DataGridCollectionViewBase)
Public EventRaised when the CancelNew method has been called to signal that the insertion process of a new item is about to be canceled. (Inherited from DataGridCollectionViewBase)
Public EventRaised when the CommitEdit method has been called to signal that modifications made to an item in the underlying data source are about to be committed. (Inherited from DataGridCollectionViewBase)
Public EventRaised when the CommitNew method has been called to signal that a new item is about to be committed to the underlying data source. (Inherited from DataGridCollectionViewBase)
Public EventRaised when the AddNew method has been called to signal that a new item is about to be created. (Inherited from DataGridCollectionViewBase)
Public Event (Inherited from DataGridCollectionViewBase)
Public Event (Inherited from DataGridCollectionViewBase)
Public EventRaised when the distinct values need to be refreshed. (Inherited from DataGridCollectionViewBase)
Public EventRaised after the BeginningEdit event to signal that the edit process of an item in the underlying data source has begun. (Inherited from DataGridCollectionViewBase)
Public EventRaised after the CancelingEdit event to signal that the edit process of an item in the underlying data source has been canceled. (Inherited from DataGridCollectionViewBase)
Public EventRaised after the CommittingEdit event to signal that the modifications made to an item in the underlying data source have been committed. (Inherited from DataGridCollectionViewBase)
Public EventRaised after the CreatingNewItem event to allow the new item to be initialized. (Inherited from DataGridCollectionViewBase)
Public EventRaised after the RemovingItem event to signal that an item has been removed from the underlying data source. (Inherited from DataGridCollectionViewBase)
Public EventRaised after the CancelingNewItem event to signal that the insertion process of a new item has been canceled. (Inherited from DataGridCollectionViewBase)
Public EventRaised after the CommittingNewItem event to signal that a new item has been committed to the underlying data source. (Inherited from DataGridCollectionViewBase)
Public EventRaised after the CreatingNewItem and InitializingNewItem events to signal that a new item has been created. (Inherited from DataGridCollectionViewBase)
Public EventRaised when the Remove or RemoveAt methods have been called to signal that an item is about to be removed from the underlying data source. (Inherited from DataGridCollectionViewBase)
Top
Protected Events
See Also

Reference

DataGridCollectionView Class
Xceed.Wpf.DataGrid Namespace

DataGrid Fundamentals

DataGridCollectionView Class
Providing Data