![]() | Data |
The DataMappingTable type exposes the following members.
Name | Description | |
---|---|---|
![]() | DataMappingTable | Constructor |
Name | Description | |
---|---|---|
![]() | ColumnControls | Column Definitions for data mapping |
![]() | Control | Exposes the actual WinForm control so it can be added to parent container. |
![]() | IsDisposed | Do not use disposed object. |
![]() | IsHeader | Is this control the header of a table |
![]() | RowCount | Rowcount getter and protected setters |
Name | Description | |
---|---|---|
![]() | AddControl | Add control to specific cell |
![]() | AllMappingsValid | Used to determine if all visible rows are fully defined, and a new empty row should be added. |
![]() | ButtonClicked | Called when Button in a column is clicked. |
![]() | CreateActionColumn | Creates the TAG_ACTION column. |
![]() | CreateColumnControls | Define the controls of your table. TAG_STATUS and TAG_ACTION are added automatically. |
![]() | CreateStatusColumn | Creates the TAG_STATUS column. |
![]() | Dispose | Dispose |
![]() | Dispose(Boolean) | Dispose pattern. |
![]() | GetColumn | Returns column index of the control, or -1 if not found. |
![]() | GetRow | Returns row index of the control, or -1 if not found. |
![]() | Init | MUST BE CALLED immediately after object creation. |
![]() | InitTableStyle | Initializes the default style for the table control. |
![]() | IsValidForSaving | Return true if the data currently shown has enough set to be saved. Note that all data has to be good for saving, but e.g. only MainBinding or parts of it depending on your case. |
![]() | PropertyChanged |
Called when any property changes. If you want to avoid this event when filling the object,
wrap your setters to
C# row.InitProperties(() =>
{
row.MyProperty = ... // Will not send PropertyChanged event.
}); |
![]() | RefreshComboContent | Called when ComboBox dropdown is opened. Use LoadComboValuesT(String, IEnumerableToStrWrapT) to populate the combo. |
![]() | RemoveControl | Remove control from table |
![]() | ResumeLayout |
Resumes layout calculations, performs them and sets redraw to true and invalidates. Stacks the calls; only last one is effective!
You MUST call ResumeLayout(Boolean) as many times as you call SuspendLayout. Use pattern such as C# try { SuspendLayout(); ...TODO: your other code... } finally { ResumeLayout(); } |
![]() | StringifyT | Provide localized string for given value. |
![]() | SuspendLayout |
Suspends layout calculations and sets redarw to false. Stacks the calls; only first is effective!
You MUST call ResumeLayout(Boolean) as many times as you call SuspendLayout. Use pattern such as C# try { SuspendLayout(); ...TODO: your other code... } finally { ResumeLayout(); } |
![]() | UIAction(Action, Boolean) | UI Action wrapper that simply suspends the layout and drawing |
![]() | UIActionT(FuncT, Boolean) | UI Action wrapper that simply suspends the layout and drawing |
Name | Description | |
---|---|---|
![]() ![]() | TAG_ACTION | Tag for 'Action' -button which is automatically added as last column. |
![]() ![]() | TAG_STATUS | Tag for 'Status' -column which is automatically added as first column. |
Date | Version | Description |
---|---|---|
- | 2025 SP1 | First Release |