Click or drag to resize
CalculationWorks Logo
BcfTableViewBase Class
Base class of row view collections.
Inheritance Hierarchy

Namespace: CalculationWorks.ViewModel.Forms
Assembly: CalculationWorks.ViewModel.Forms (in CalculationWorks.ViewModel.Forms.dll) Version: 3.0.2.0
Syntax
public abstract class BcfTableViewBase : IBcfModelObject, 
	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 windows forms components such as DataGridView should enable delete functionality.
Public propertyBcfRowViews
Gets the row views.
Public propertyCount
Gets the number of elements contained in the collection.
Public propertyFilterFunction
Gets or sets the filter function.
Public propertyIsDisposed
Gets a value indicating whether this instance is disposed.
Public propertyIsSorted
Gets whether the items in the list are sorted.
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, else null.
Public propertyRelation
Gets the associated BcfRelation if this is a childview, else null.
Public propertySortDescriptions
Gets the collection of sort descriptions currently applied to the data source.
Public propertySortDirection
Gets the sort order.
Public propertySortProperty
Get the PropertyDescriptor that is being used for sorting.
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 methodApplyFilter(Boolean)
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 methodContains
Determines whether the list contains the specified BcfRowView.
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 methodGetContainedRowView
Gets the BcfRowView or null if no BcfRowView is associated with the given BcfRow or this BcfTableViewBase does not contain the associated BcfRowView.
Public methodGetDefaultView
Gets the default view.
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetRowView
Gets the BcfRowView or null if no BcfRowView is associated with the given BcfRow.
Public methodGetRowViewAt
Gets the BcfRowView at the specified index.
Public methodGetRowViewProperties
Gets the row view properties.
Public methodGetRowViewSources
Gets the row view sources. Only custom views have source views.
Public methodGetRowViewType
Gets the type of the row views in this collection.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodIndexOf
Determines 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.
Public methodRemoveSort
Removes the applied sort.
Public methodSetRowViewSources
Sets the row view sources.
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.)
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
Version Information

CalculationWorks.ViewModel.Forms

Supported in: 3.0, 2.1, 2.0
See Also