BcfRowView Class |
Namespace: CalculationWorks.ViewModel.Windows
The BcfRowView type exposes the following members.
Name | Description | |
---|---|---|
BcfRowView |
Initializes a new instance of the BcfRowView class.
|
Name | Description | |
---|---|---|
HasErrors | ||
IsDiscarded |
Gets a value indicating whether the instance is discarded. When IsDiscarded becomes the
PropertyChanged event will not be raised. Override OnDiscard to perform custom cleanup tasks.
| |
RaisePropertyChangedForHasErrors |
Gets a value indicating PropertyChanged will be raised when HasErrors changed. Default implementation
returns always .
| |
Repository |
Gets the BcfRowViewRepository item this BcfRowView belongs to.
| |
Row |
Gets the associated BcfRow or - if this is a virtual row-view - .
| |
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.
| |
GetColumnsInError |
Gets the names of columns with faults.
| |
GetFaults |
Gets distinct IEnumerableT of all reflected columns in the row.
| |
GetFaults(String) |
Gets the faults tagging a cell represented by this rowview and specified columnName.
| |
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 managed value of a column specified by columnName.
| |
GetValue(BcfColumn) |
Gets the managed value of specified column as object.
| |
IsVirtual |
Determines whether the instance is a virtual rowview. A virtual rowview can be created by AddVirtualRowView(DictionaryString, Object)
and its Row property is always .
| |
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) | ||
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.
This is the base implementation. Prefer inherit BcfCommonRowView except you don't want your rowview implements INotifyPropertyChanged and INotifyDataErrorInfo.