Click or drag to resize

DataMappingRowControl Methods

The DataMappingRowControl type exposes the following members.

Methods
 NameDescription
Protected methodComboGetT Get the currently set value of a combo.
Protected methodComboSelectT Select given value from combo. Adds the value as error item to the combo if the select was done outside InitProperties(Action) context.
Public methodDispose Dispose
Protected methodDispose(Boolean) Dispose
Public methodEnableControl Enable/disable control with tag. The control must exists.
Public methodGetControlT Get the underlying control by tag name.
Public methodHasCombo True if this row has a combobox behind the given tag.
Public methodInit Initialize this row. This should be called only by DataMappingTable.
Protected methodInitializeDefaults Initialize default values for new row.
Public methodInitProperties Convenience function that allows settings properties without causing PropertyChanged(DataMappingRowControl, String) event.
Public methodIsMappingValid Return true if the mapping is validly defined.
Protected methodLabelGet Get the label text with tag. Label must exist.
Protected methodLabelSet Set the label text with tag. Label must exist. Causes PropertyChanged(DataMappingRowControl, String) unless called in InitProperties(Action) context.
Public methodLoadComboValuesT Loads values to combo with tag. The combo must exists.
Public methodReset Reset this row by Disposing all its controls and recreating them.
Public methodSetButtonText Set text for a button with tag. Button must exist.
Public methodSetErrorItemT Sets given item as error item.
Public methodShowControlT 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.
Protected methodTextFieldGet Get the TextBox text with tag. TextBox must exist.
Protected methodTextFieldSet Set the TextBox text with tag. TextBox must exist. Causes PropertyChanged(DataMappingRowControl, String) unless called in InitProperties(Action) context.
Top
See Also