DataGridCollectionView Class Members
See Also  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 ConstructorDataGridCollectionView ConstructorOverloaded. Initializes a new instance of the DataGridCollectionView class.  
Top

Public Properties

 NameDescription
Public PropertyAllowNewGets a value indicating whether new items can be added to the collection through the AddNew method.  
Public PropertyAutoCreateDetailDescriptionsGets a value indicating whether the detail descriptions are automatically created.  
Public PropertyAutoCreateItemPropertiesGets a value indicating whether the item properties are automatically created.  
Public PropertyAutoFilterModeGets or sets a value indicating how automatic filtering of the data items will be performed. This feature is available only in the Professional Edition  
Public PropertyAutoFilterValuesGets 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  
Public PropertyCanFilterOverridden. Gets a value indicating whether the view supports filtering.  
Public PropertyCanGroupOverridden. Gets a value indicating whether the view supports grouping.  
Public PropertyCanSortOverridden. Gets a value indicating whether the view can be sorted.  
Public PropertyComparer (Inherited from System.Windows.Data.CollectionView)
Public PropertyCountOverridden. Gets the number of items in the view.  
Public PropertyCultureOverridden. Gets or sets the culture to use during sorting.  
Public PropertyCurrentAddItemGets the item that is currently being added to the underlying data source.  
Public PropertyCurrentEditItemGets the item in the underlying data source that is currently being edited.  
Public PropertyDetailDescriptionsGets 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  
Public PropertyDispatcher (Inherited from System.Windows.Threading.DispatcherObject)
Public PropertyDistinctValuesGets a dictionary that contains a list of DataGridItemProperty objects with their corresponding distinct values. This feature is available only in the Professional Edition  
Public PropertyDistinctValuesConstraintGets 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  
Public PropertyFilterOverridden. Gets or sets a callback used to determine if an item is suitable for inclusion in the view  
Public PropertyGroupDescriptionsOverridden. Gets a collection of GroupDescription objects that describe how the items in the collection are grouped in the view.  
Public PropertyGroupsOverridden. Gets the runtime groups that are created based on the GroupDescriptions.  
Public PropertyIsAddingItemGets a value indicating whether an item is being added to the underlying data source.  
Public PropertyIsEditingItemGets a value indicating whether an item in the underlying data source is being edited.  
Public PropertyIsEmptyOverridden. Gets a value indicating whether the filtered view is empty.  
Public PropertyItemPropertiesGets the DataGridItemProperty objects that determine the characteristics of the items contained in the view.  
Public PropertyItemTypeGets the type of the items contained in the collection view or added through the SourceItems property.  
Public PropertyNeedsRefreshOverridden. Gets a value that indicates whether this view needs to be refreshed.  
Public PropertyParentDetailDescriptionGets the parent detail description of the collection view.  
Public PropertySortDescriptionsOverridden. Gets a collection of SortDescription objects that describe how the items in the collection are sorted in the view.  
Public PropertySourceCollectionOverridden. Gets the underlying un-filtered collection.  
Public PropertySourceItemsGets the items that are contained in the SourceCollection.  
Public PropertyStatFunctionsGets a collection of the statistical functions whose results can be used by various elements throughout a grid. This feature is available only in the Professional Edition  
Top

Protected Properties

Public Methods

 NameDescription
Public MethodAddNewAdds a new item to the underlying data source.  
Public MethodCancelEditCancels the edit process.  
Public MethodCancelNewDiscards the new item added through a call to the AddNew method before it is committed.  
Public MethodCommitEditCommits the modifications made to the item in the underlying data source that is being edited.  
Public MethodCommitNewCommits the new item to the underlying data source.  
Public MethodContainsOverridden. Returns a value indicating whether the specified item exists in the collection.  
Public MethodDeferRefreshOverridden. Enters a defer cycle that you can use to merge changes to the view and delay automatic refresh.  
Public MethodEditItemEdits the specified item in the underlying data source.  
Public MethodGetDistinctValuesRetrieves the distinct values for the column that has the specified field name. This feature is available only in the Professional Edition  
Public MethodGetItemAtOverridden. Retrieves the item at the specified index in the view.  
Public MethodIndexOfOverridden. Returns the zero-based index of the specified item.  
Public MethodPassesFilterOverridden. Returns a value indicating whether the specified item in the underlying data source passes the filtering criteria, and is therefore included in the view.  
Public MethodRefreshOverridden. Recreates the view.  
Public MethodRemoveRemoves the specified item from the underlying data source.  
Public MethodRemoveAtRemoves the item at the specified index from the underlying data source.  
Top

Protected Methods

 NameDescription
Protected MethodClearChangeLog (Inherited from System.Windows.Data.CollectionView)
Protected MethodGetEnumeratorOverridden. Retrieves an object that can be used to enumerate the items in the view.  
Protected MethodOKToChangeCurrent (Inherited from System.Windows.Data.CollectionView)
Protected MethodOnBeginChangeLogging (Inherited from System.Windows.Data.CollectionView)
Protected MethodOnCollectionChangedOverloaded. Overridden. Raises the CollectionChanged event.  
Protected MethodOnCurrentChanged (Inherited from System.Windows.Data.CollectionView)
Protected MethodOnCurrentChangingOverloaded.  (Inherited from System.Windows.Data.CollectionView)
Protected MethodOnPropertyChanged (Inherited from System.Windows.Data.CollectionView)
Protected MethodProcessCollectionChanged (Inherited from System.Windows.Data.CollectionView)
Protected MethodRefreshOrDefer (Inherited from System.Windows.Data.CollectionView)
Protected MethodRefreshOverride (Inherited from System.Windows.Data.CollectionView)
Protected MethodSetCurrentOverloaded.  (Inherited from System.Windows.Data.CollectionView)
Top

Public Events

 NameDescription
Public EventBeginningEditRaised 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.  
Public EventCancelingEditRaised 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.  
Public EventCancelingNewItemRaised when the CancelNew method has been called to signal that the insertion process of a new item is about to be canceled.  
Public EventCommittingEditRaised 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.  
Public EventCommittingNewItemRaised when the CommitNew method has been called to signal that a new item is about to be committed to the underlying data source.  
Public EventCreatingNewItemRaised when the AddNew method has been called to signal that a new item is about to be created.  
Public EventCurrentChanged (Inherited from System.Windows.Data.CollectionView)
Public EventCurrentChanging (Inherited from System.Windows.Data.CollectionView)
Public EventEditBegunRaised after the BeginningEdit event to signal that the edit process of an item in the underlying data source has begun.  
Public EventEditCanceledRaised after the CancelingEdit event to signal that the edit process of an item in the underlying data source has been canceled.  
Public EventEditCommittedRaised after the CommittingEdit event to signal that the modifications made to an item in the underlying data source have been committed.  
Public EventInitializingNewItemRaised after the CreatingNewItem event to allow the new item to be initialized.  
Public EventItemRemovedRaised after the RemovingItem event to signal that an item has been removed from the underlying data source.  
Public EventNewItemCanceledRaised after the CancelingNewItem event to signal that the insertion process of a new item has been canceled.  
Public EventNewItemCommittedRaised after the CommittingNewItem event to signal that a new item has been committed to the underlying data source.  
Public EventNewItemCreatedRaised after the CreatingNewItem and InitializingNewItem events to signal that a new item has been created.  
Public EventRemovingItemRaised when the Remove or RemoveAt methods have been called to signal that an item is about to be removed from the underlying data source.  
Top

Protected Events

See Also