The following tables list the members exposed by DataManagerBase.
Name | Description | |
---|---|---|
AllowCollectionViewOverrides | Gets/Sets whether this DataManagerBase is allowed to set properties for sorting and grouping if DataSource is an ICollectionView | |
CachedCollectionType | A cached version of CollectionType. | |
CachedType | Gets/Sets a cached version of the DataType. | |
CachedTypedInfo | Gets/Sets a cached version of the DataType. | |
ConditionalFormattingRules | Gets / sets the collection of conditional formatting rules which will be requesting data. | |
CurrentPage | Gets / sets the index of the page of data which should be retrieved from the manager. | |
DataSource | Gets or sets the IEnumerable that this DataManagerBase manages. | |
EnablePaging | Gets / sets whether paging should be used by the manager. | |
Filters | Gets / sets the RecordFilterCollection which will be applied to the records during the databinding. | |
GroupByObject | Gets/Sets the object in which the data that this DataManagerBase represents, should be grouped by. | |
GroupBySortAscending | Gets/Sets the sort direction that should be applied to the field that the underlying data has been grouped by. | |
GroupBySortContext | Gets/Sets the CurrentSort that will be applied when the data is Grouped by a particular field. | |
MergeDataContexts | Gets the list of MergedDataContext objects, that the manager should be displaying the data as. | |
OriginalDataSource | Gets or sets the IEnumerable that this DataManagerBase manages without converting types. | |
PageCount | Gets the total number of pages available in the data source based on page size. If EnablePaging is false, this will report 1. | |
PageSize | Gets / sets how many records constitute a page of data | |
RecordCount | Gets the number of records that can be currently displayed. | |
Sort | Gets an observable collection of sorts, from primary sort to final sort. Sorts after the first are only applied if all the previous sorts were equal. | |
SortedFilteredDataSource | Gets/sets a cached list of sorted items. | |
Summaries | Gets / sets the SummaryDefinitionCollection which will be applied to the records during the databinding. | |
SummaryExecution | Gets / sets the SummaryExecution which will determine where the summaries should be calculated by default. | |
SummaryResultCollection | The collection of SummaryResult objects that will be populated by the DataManagerBase. | |
SupportsDataManipulations | Gets/ sets whether data manipulations such as Sorting are supported on this particular data manager. | |
SupportsEditing | Gets whether editing is supported by the collection. | |
SuspendInvalidateDataSource | Gets / sets if the DataManager should be prevented from invaliating it's cached data stores, so that multiple actions can be built up and executed at one time. | |
TotalRecordCount | Gets the total number of records available from the datasource. |
Name | Description | |
---|---|---|
CollectionType | The System.Type that the collection is designed to hold. | |
DataType | Returns type of data that this IEnumerable represents. | |
Defer | Prevents operations from happening when the control is in an inconsistant state. | |
IBindingListData | Gets the underlying data source as an System.ComponentModel.IBindingList. If the datasource isn't an IBindingList, null is returned. | |
IBindingLisViewtData | Gets the underlying data source as an System.ComponentModel.IBindingListView. If the datasource isn't an IBindingListView, null is returned. | |
ICollectionViewData | Gets the underlying data source as an System.ComponentModel.ICollectionView. If the datasource isn't an ICollectionView, null is returned. | |
IEditableCollectionViewData | Gets the underlying data source as an System.ComponentModel.IEditableCollectionView. If the datasource isn't an IEditableCollectionView, null is returned. | |
IFilteredCollectionViewData | Gets the underlying data source as an IFilteredCollectionView. If the datasource isn't an IFilteredCollectionView, null is returned. | |
IListData | Gets the underlying data source as an System.Collections.IList. If the datasource isn't an IList, null is returned. | |
IsSortedFilteredDataSourceCalculated | Gets/ sets whether the the SortedFilteredDataSource needs to be recalculated. | |
ITypedListData | Gets the underlying data source as an System.ComponentModel.ITypedList. If the datasource isn't an ITypedList, null is returned. |
Name | Description | |
---|---|---|
AddRecord | Adds inputted object to the datasource | |
BuildPropertyExpressionFromPropertyName | Overloaded. Builds a System.Linq.Expressions.Expression for complex property names such as Address.Street1 or Items[FirstName] | |
CancelEdit | Wraps the IEditableCollectionVie.CancelEdit method | |
CommitEdit | Wraps the IEditableCollectionVie.CommitEdit method | |
CreateDataManager | Overloaded. Creates a generic data manager of the type of the first object in the source. | |
DetachWeekReferences | Clears the collection changed handlers used by the DataManager | |
EditItem | Wraps the IEditableCollectionVie.EditItem method | |
GenerateNewObject | Creates a new object with of DataType type. | |
GetDataProperties | Returns an IEnumerable of DataField's that describe the different fields in this object. | |
GetDefaultValue | ||
GetRecord | Returns an object in the data source at a given index, after applying the sort and filter. | |
InsertRecord | Adds inputted object to the datasource at the given index | |
RefreshSummaries | Reevaluates the summaries for the ItemsSource bound to this DataManagerBase. | |
RemoveRecord | Removes a record from the datasource. | |
Reset | Clears out any stored information on the previous DataSource. | |
ResolveCollectionType | Resolves the underlying type of the item that the specified collection contains. | |
ResolveIndexForRecord | Looks through the filtered DataSource for the index of the item specified. | |
ResolveItemType | Resolves the underlying type of the item that the specified collection contains. | |
ResolvePropertyInfoFromPropertyPath | Walks through the property tree of an object to resolve the propretyInfo | |
ResolvePropertyTypeFromPropertyName | Resolves the type of a property for complex properties such as Address.Stree1. | |
ResolveValueFromPropertyPath | Walks the property tree of an object to resolve properties such as Address.Street1 or Items[FirstName] | |
UpdateCurrentItem | Moves the System.ComponentModel.ICollectionView current item pointer to the inputted item. | |
UpdateData | Clears the underlying cached data, and triggeres all data operations to be applied again. |
Name | Description | |
---|---|---|
ClearCachedDataSource | Clears any cached information that the manager keeps. | |
GenerateDataField | Creates a DataField object, which contains information about a specific property. | |
GetDataSource | Gets the DataSource associated with this DataManagerBase. | |
OnCollectionChanged | Raises the CollectionChanged event. | |
OnCurrentItemChanged | Raises the CurrentItemChanged event. | |
OnDataSourceCollectionChanged | Triggered when the underlying data source's data is changed. | |
OnDataUpdated | Raises the DataUpdated event. | |
OnListChanged | Raises the ListChanged event. | |
OnNewObjectGeneration | Raises the NewObjectGeneration event. | |
OnResolvingData | Raises the ResolvingData event. | |
ResolveCount | Determines the size of the collection by walking through the DataSource. | |
ResolveFilteredSortedPagedDataSource | Uses the existing paging, sorting, and filtering information to build a cached object for the DataManagerBase to use. | |
ResolveRecord | Resolve the specified record at a given index. | |
SetDataSource | Sets the DataSource while registering for change notification. | |
SetSortedFilteredDataSource | Used to update the sorted, filtered, paged, and grouped data source. |
Name | Description | |
---|---|---|
CollectionChanged | Occurs when the data source has changed and it implements System.Collections.Specialized.INotifyCollectionChanged. | |
CurrentItemChanged | Event raised when the currentItem changes. | |
DataUpdated | Event raised when the underlying data changes. | |
ListChanged | Occurs when the data source has changed and it implements System.Collections.Specialized.INotifyCollectionChanged. | |
NewObjectGeneration | Event raised when the DataManagerBase is attempting to create a new instance of the CachedType object. | |
ResolvingData | Event raised when paging, filtering, sorting, or groupby actions are changed. |