Click or drag to resize

DataMappingTableEXTENSION, ROWCONTROLTYPE, SETTINGSLoadSettingsToTable Method

Load the provided settings to the table. Populate MainBindings and add new AdditionalBindings to populate using CreateNewBindingRow(ROWCONTROLTYPE).

When populating values to your objects, use InitProperties(Action) to avoid PropertyChanged(DataMappingRowControl, String) event during loading.
C#
MainBindings.InitProperties(() =>
{
  MainBindings.Name = settings.CTObject.Name;
  MainBindings.DataSource = settings.Source;
});

Namespace: CTExtensions.ExportCore.Config.DataMapping
Assembly: CTInterface (in CTInterface.dll) Version: 25.0
Syntax
protected abstract void LoadSettingsToTable(
	SETTINGS settings
)

Parameters

settings  SETTINGS
See Also