Click or drag to resize

BcfTableViewBase Class

[This is preliminary documentation and is subject to change.]

Base class of row view collections.
Inheritance Hierarchy

Namespace:  CalculationWorks.ViewModel.Forms
Assembly:  CalculationWorks.ViewModel.Forms (in CalculationWorks.ViewModel.Forms.dll) Version: 4.0.0-beta7
Syntax
public abstract class BcfTableViewBase : ITypedList, 
	IBindingListView, IBindingList, IList, ICollection, IEnumerable, 
	ICancelAddNew, IComponent, IDisposable

The BcfTableViewBase type exposes the following members.

Constructors
  NameDescription
Protected methodBcfTableViewBase
Initializes a new instance of the BcfTableViewBase class.
Top
Properties
  NameDescription
Public propertyAllowDelete
Gets or sets a value indicating whether implementation of Remove(Object) etc should delete the specified rowview.
Public propertyCount
Gets the number of elements contained in the collection.
Public propertyFilteredCount
Gets the number of items suppressed by filter.
Public propertyIsDisposed
Gets a value indicating whether this instance is disposed.
Public propertyIsFiltered
Gets a value indicating the items in the list are filtered.
Public propertyIsSorted
Gets a value indicating the items in the list are sorted.
Public propertyItem
Gets the BcfRowView at the specified index.
Public propertyName
Gets when ViewType is ChildView the name of associated BcfRelation, otherwise the name of associated BcfTable
Public propertyParentRowView
Returns the parent BcfRowView if this is a childview, otherwise null.
Public propertyRelation
Gets the associated BcfRelation if this is a childview, otherwise null.
Public propertyRepository
Gets row-view repository.
Public propertyRowViews
Gets the row views.
Public propertyRowViewType
Gets the type of the row views in this collection.
Public propertySortDescriptions
Gets the collection of sort descriptions currently applied to the data source.
Public propertySources
Get the row view source-lists.
Public propertyTable
Gets the associated BcfTable
Public propertyViewManager
Gets the BcfViewManager this BcfTableViewBase belongs to.
Public propertyViewType
Gets the type of the view.
Top
Methods
  NameDescription
Public methodAddVirtualRowView
Adds a virtual BcfRowView.
Public methodApplyFilter
Applies the filter.
Public methodApplySort(ListSortDescriptionCollection)
Sorts the collection based on the given ListSortDescriptionCollection.
Public methodApplySort(PropertyDescriptor, ListSortDirection)
Sorts the list based on a PropertyDescriptor and a ListSortDirection.
Public methodApplySort(String, ListSortDirection)
Sorts the list based on a column name and a ListSortDirection.
Public methodClearFilter
Removes the filter.
Public methodClearSort
Removes the sort.
Public methodContains(Int32)
Determines whether the list contains an entry identified by the specified row(-view)-identifier.
Public methodContains(BcfRow)
Determines whether the list contains the specified row
Public methodContains(BcfRowView)
Determines whether the list contains the specified rowView.
Public methodDispose
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
Protected methodDispose(Boolean)
Releases unmanaged and - optionally - managed resources.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetRowView(Int32)
Gets the BcfRowView associated with the specified rowId.
Public methodGetRowView(BcfRow)
Gets the BcfRowView associated with the specified row.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodIndexOf
Gets the index of a specific item in the list.
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Protected methodOnDisposed
Raises the Disposed event.
Protected methodOnListChanged
Raises the ListChanged-event.
Public methodResetSources
Resets Sources of a custom view to null to use entire Repository.
Public methodSetFilter
Sets the filter function.
Public methodSetSort
Sets the sort function specified by comparison and updates the item order.
Public methodSetSources
Sets views as row-view-source. Set null to use entire Repository.
Public methodSort
Sorts the collection based on the given sorts. The SortDescriptions property will not be updated.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodTryGetRowView(NullableInt32)
Gets the BcfRowView or null if no BcfRowView is associated with the given BcfRow.
Public methodTryGetRowView(BcfRow)
Gets the BcfRowView or null if no BcfRowView is associated with the given BcfRow.
Public methodTryGetRowView(NullableInt32, BcfRowView)
Gets the BcfRowView associated with the specified rowViewId.
Public methodTryGetRowView(BcfRow, BcfRowView)
Gets the BcfRowView associated with the specified row.
Top
Events
  NameDescription
Public eventDisposed
Represents the method that handles the disposed event of a component.
Public eventListChanged
Occurs when the list changes or an item in the list changes.
Top
See Also