Click or drag to resize

BcfTableViewBase Class

Base class of row view collections.
Inheritance Hierarchy

Namespace:  CalculationWorks.ViewModel.Windows
Assembly:  CalculationWorks.ViewModel.Windows (in CalculationWorks.ViewModel.Windows.dll) Version: 4.2.0
Syntax
public abstract class BcfTableViewBase : IDisposable, 
	IList, ICollection, IEnumerable, INotifyCollectionChanged

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 .
Public propertyRelation
Gets the associated BcfRelation if this is a childview, otherwise .
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 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 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 methodOnCollectionChanged
Raises the CollectionChanged event with the provided arguments.
Protected methodOnDisposed
Raises the Disposed event.
Public methodResetSources
Resets Sources of a custom view to 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 to use entire Repository.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodTryGetRowView(NullableInt32)
Gets the BcfRowView or if no BcfRowView is associated with the given BcfRow.
Public methodTryGetRowView(BcfRow)
Gets the BcfRowView or 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 eventCollectionChanged
Occurs when the collection changes.
Public eventDisposed
Represents the method that handles the disposed event of a component.
Top
See Also