Click or drag to resize

BcfHierarchicalViewManager Class

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

An extended view manager with capabilities for hierarchical data binding and row navigation.
Inheritance Hierarchy
SystemObject
  CalculationWorks.ViewModel.FormsBcfViewManager
    CalculationWorks.ViewModel.FormsBcfHierarchicalViewManager

Namespace:  CalculationWorks.ViewModel.Forms
Assembly:  CalculationWorks.ViewModel.Forms (in CalculationWorks.ViewModel.Forms.dll) Version: 4.0.0-beta7
Syntax
public abstract class BcfHierarchicalViewManager : BcfViewManager, 
	ICurrencyManagerProvider

The BcfHierarchicalViewManager type exposes the following members.

Constructors
  NameDescription
Protected methodBcfHierarchicalViewManager
Initializes a new instance of the BcfHierarchicalViewManager class.
Top
Properties
  NameDescription
Public propertyBindingSources
Gets the binding sources.
Public propertyCurrencyManager
Gets the CurrencyManager associated with this ICurrencyManagerProvider.
Public propertyDataSet
Gets the BcfDataSet.
(Inherited from BcfViewManager.)
Public propertyDefaultViews
Gets the default views.
(Inherited from BcfViewManager.)
Public propertyDeferPropertyChanged
Gets a value indicating whether ItemChanged or PropertyChanged should be deferred.
(Inherited from BcfViewManager.)
Public propertyIsDisposed
Gets a value indicating whether this instance is disposed.
(Inherited from BcfViewManager.)
Public propertyNavigating
Gets a value indicating whether this BcfHierarchicalViewManager is navigating.
Public propertyOutOfSync
Gets a value indicating whether viewmanagers shows a snapshot of an uncommitted BcfDataSet content.
(Inherited from BcfViewManager.)
Public propertyRepository
Gets the data-repository.
(Inherited from BcfViewManager.)
Public propertyUpdateProgress
Gets a value indicating whether currently processing dataset changes.
(Inherited from BcfViewManager.)
Top
Methods
  NameDescription
Protected methodCode exampleAddBranchBindingSourceTBindingSource
Creates a new binding source and adds it to the specified parents ChildBindingSources.
Protected methodCode exampleAddRootBindingSourceTBindingSource
Creates and registers a new binding source.
Protected methodBeginNavigate
Method to suppress the view managers Navigated event when BindingSources navigating.
Public methodCreateEmptyView
Creates and returns an empty view (With Sources empty).
(Inherited from BcfViewManager.)
Public methodCreateView(BcfTable, PredicateBcfRowView)
Creates and returns a new view for specified table.
(Inherited from BcfViewManager.)
Public methodCreateViewT(BcfTableViewBaseT, PredicateBcfRowView)
Creates and returns a new view using rowViews of specified rowViewSource.
(Inherited from BcfViewManager.)
Protected methodDeleteRow (Inherited from BcfViewManager.)
Public methodDispose
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
(Inherited from BcfViewManager.)
Protected methodDispose(Boolean)
Releases unmanaged and - optionally - managed resources.
(Overrides BcfViewManagerDispose(Boolean).)
Protected methodEndNavigate
Method to restore suppressed the view managers Navigated event when BindingSources navigating. Raises the Navigated event.
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 methodGetRelatedCurrencyManager
Gets the CurrencyManager for this ICurrencyManagerProvider and the specified data member.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodInitializeBindingSources
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodNavigateTo(BcfRow)
Sets the specified BcfRow as CurrentRow on its BcfBindingSource.
Public methodNavigateTo(BcfRowView)
Sets the specified BcfRowView as CurrentRowView on its BcfBindingSource.
Protected methodOnDataBindingError
Raises the DataBindingError-event.
(Inherited from BcfViewManager.)
Protected methodOnDisposed
Raises the Disposed event.
(Inherited from BcfViewManager.)
Protected methodOnNavigated
Raises the Navigated event.
Protected methodOnSuppressingRecurrentUpdate
Raises the SuppressingRecurrentUpdate event.
(Inherited from BcfViewManager.)
Protected methodOnUpdateProgressChanged
Raises the -event.
(Overrides BcfViewManagerOnUpdateProgressChanged(EventArgs).)
Public methodReloadData
Discards all non virtual BcfRowViews and reloads all data from BcfDataSet.
(Inherited from BcfViewManager.)
Protected methodSetParentRow
Normal (non-virtual) BcfRowView.SetParentRowView(BcfRelation, BcfRowView) is redirected to this virtual method.
(Inherited from BcfViewManager.)
Public methodSupportsClassicBinding
Supports classic binding.
(Inherited from BcfViewManager.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Protected methodUpdateCell
Normal (non-virtual) BcfRowView.SetValue(BcfColumn, Object) is redirected to this virtual method.
(Inherited from BcfViewManager.)
Top
Events
  NameDescription
Public eventDataBindingError
This event is raised when a binding-error occurs.
(Inherited from BcfViewManager.)
Public eventDisposed
Represents the method that handles the Disposed event.
(Inherited from BcfViewManager.)
Public eventNavigated
Occurs when navigated.
Public eventSuppressingRecurrentUpdate
Occurs when an recurrent data change occurs.
(Inherited from BcfViewManager.)
Public eventUpdateProgressChanged
Raised when UpdateProgress changed.
(Inherited from BcfViewManager.)
Top
Remarks
To use BcfHierarchicalViewManager you have to initialize bindingsources.
See Also