Data |
The DataMappingRowControl type exposes the following members.
| Name | Description | |
|---|---|---|
| DataMappingRowControl | Constructor |
| Name | Description | |
|---|---|---|
| Controls | Cell Controls created for this row. | |
| HasErrors | A control can have errors, if a combo has been set to a value that was not available when the combo was populated with LoadComboValuesT(String, IEnumerableToStrWrapT). | |
| IsMainControl | A DataMappingTable has one "Main Binding Control" and possibly several "Additional Binding Controls". True if this is the main control. | |
| ParentTable | Parent Table. | |
| Status | Satus of this row. Sets the status field icon accordingly. |
| Name | Description | |
|---|---|---|
| ComboGetT | Get the currently set value of a combo. | |
| ComboSelectT | Select given value from combo. Adds the value as error item to the combo if the select was done outside InitProperties(Action) context. | |
| Dispose | Dispose | |
| Dispose(Boolean) | Dispose | |
| EnableControl | Enable/disable control with tag. The control must exists. | |
| GetControlT | Get the underlying control by tag name. | |
| HasCombo | True if this row has a combobox behind the given tag. | |
| Init | Initialize this row. This should be called only by DataMappingTable. | |
| InitializeDefaults | Initialize default values for new row. | |
| InitProperties | Convenience function that allows settings properties without causing PropertyChanged(DataMappingRowControl, String) event. | |
| IsMappingValid | Return true if the mapping is validly defined. | |
| LabelGet | Get the label text with tag. Label must exist. | |
| LabelSet | Set the label text with tag. Label must exist. Causes PropertyChanged(DataMappingRowControl, String) unless called in InitProperties(Action) context. | |
| LoadComboValuesT | Loads values to combo with tag. The combo must exists. | |
| Reset | Reset this row by Disposing all its controls and recreating them. | |
| SetButtonText | Set text for a button with tag. Button must exist. | |
| SetErrorItemT | Sets given item as error item. | |
| ShowControlT |
Show/hide control with tag. The control must exist.
Internal logic simply replaces the control with Panel, as the underlying TableLayoutPanel tends to collapse on control hide. | |
| TextFieldGet | Get the TextBox text with tag. TextBox must exist. | |
| TextFieldSet | Set the TextBox text with tag. TextBox must exist. Causes PropertyChanged(DataMappingRowControl, String) unless called in InitProperties(Action) context. |
| Date | Version | Description |
|---|---|---|
| - | 2025 SP1 | First Release |