BcfRowView Class |
[This is preliminary documentation and is subject to change.]
Namespace: CalculationWorks.ViewModel.Forms
The BcfRowView type exposes the following members.
| Name | Description | |
|---|---|---|
| BcfRowView |
Initializes a new instance of the BcfRowView class.
|
| Name | Description | |
|---|---|---|
| HasErrors |
Returns true if any BcfFault is tagging a column represented by this BcfRowView; false
otherwise. The method respects faults on added properties (AddParentRowViewProperties(BcfRelation, FuncString, Boolean); AddChildRowViewProperties(BcfRelation, FuncString, Boolean)).
| |
| IsDiscarded |
Gets a value indicating whether this instance is disposed.
| |
| Repository |
Gets the BcfRowViewRepository item this BcfRowView belongs to.
| |
| Row |
Gets the associated BcfRow or - if this is a virtual row-view - null.
| |
| RowViewId |
Gets the BcfRowView identifier.
|
| Name | Description | |
|---|---|---|
| Delete |
Deletes the associated BcfRow.
| |
| Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
| Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
| GetT |
Gets the managed value of specified column casted to columns ValueType. The operation causes unboxing on value-type columns.
| |
| GetChildView(String) |
Gets the child view specified by relation name.
| |
| GetChildView(BcfRelation) |
Gets the child view specified by relation.
| |
| GetColumnError |
Gets a single string containing all faults of specified column. The method accepts names of added properties (AddParentRowViewProperties(BcfRelation, FuncString, Boolean); AddChildRowViewProperties(BcfRelation, FuncString, Boolean)).
| |
| GetColumnsInError |
Gets the names of columns with faults. The method respectes names of added properties (AddParentRowViewProperties(BcfRelation, FuncString, Boolean); AddChildRowViewProperties(BcfRelation, FuncString, Boolean)).
| |
| GetFaults(String) |
Gets the faults of the specified managed property. The method accepts names of added properties (AddParentRowViewProperties(BcfRelation, FuncString, Boolean); AddChildRowViewProperties(BcfRelation, FuncString, Boolean)).
| |
| GetFaults(BcfColumn) |
Gets the IEnumerableT of the specified column.
| |
| GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
| GetParentRowView(String) |
Gets the parent row view specified by relation name.
| |
| GetParentRowView(BcfRelation) |
Gets the parent row view by specified relation.
| |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| GetValue(String) |
Gets the value of property with the specified propertyName. The method respects faults on added properties (AddParentRowViewProperties(BcfRelation, FuncString, Boolean); AddChildRowViewProperties(BcfRelation, FuncString, Boolean)).
| |
| GetValue(BcfColumn) |
Gets the managed value of specified column as object.
| |
| IsFakeRowView |
Determines whether this row view is a 'fake row view'.
| |
| IsVirtual |
Determines whether this instance is virtual.
| |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
| NotifyErrorsChanged |
Raises or queues ErrorsChanged, depends on DeferPropertyChanged | |
| NotifyItemChanged |
Raises or queues ItemChanged, depends on DeferPropertyChanged | |
| NotifyPropertyChanged |
Raises or queues PropertyChanged, depends on DeferPropertyChanged | |
| OnDiscard |
Called when this instance gets out of scope of the view-manager. Override the method to perform custom cleanup tasks.
| |
| SetParentRowView(String, BcfRowView) |
Sets the parent BcfRowView.
| |
| SetParentRowView(BcfRelation, BcfRowView) |
Sets the parent BcfRowView.
| |
| SetValue(String, Object) |
Sets the value of the associated BcfRow.BcfCell with the specified propertyName. The method respects faults on added properties (AddParentRowViewProperties(BcfRelation, FuncString, Boolean); AddChildRowViewProperties(BcfRelation, FuncString, Boolean)).
| |
| SetValue(BcfColumn, Object) | ||
| ToString | Returns a string that represents the current object. (Inherited from Object.) |
| Name | Description | |
|---|---|---|
| ErrorsChanged |
Occurs when the result of GetFaults(BcfColumn) changed.
| |
| ItemChanged |
Occurs when any data of this item changed.
| |
| PropertyChanged |
Occurs when a property changed.
|
Not all BcfRowViews represents a BcfRow via AddVirtualRowView(DictionaryString, Object) virtual can be created. In Windows.Forms a special rowview is the 'FakeRowView'IsFakeRowView.