[]
Initializes a new instance of an unbound MultiColumnDictionary class.
public MultiColumnDictionary(string items)
Type | Name | Description |
---|---|---|
string | items | String that contains the items, delimited by pipe characters ("|"). Each item may contain multiple columns, delimited by tabs (vbTab or '\t'). |
This constructor causes the map to show all columns when the editor is dropped down and only the first column when the editor is closed or inactive.
Initializes a new instance of an unbound MultiColumnDictionary class.
public MultiColumnDictionary(string items, int displayColumn, bool autoKeys)
Type | Name | Description |
---|---|---|
string | items | String that contains the items. Items are delimited by pipe characters ("|"). Each item may contain multiple columns, delimited by tabs (vbTab or '\t'). |
int | displayColumn | Index of the column that is displayed in the grid. |
bool | autoKeys | True if keys are to be automatically generated, false if the items themselves are to be used as keys. Note that in the latter case, duplicate items are not allowed. |
Initializes a new instance of a bound MultiColumnDictionary class.
public MultiColumnDictionary(ITypedList list, string keyColumn, string[] columnNames, int displayColumn)
Type | Name | Description |
---|---|---|
ITypedList | list | Data source object. |
string | keyColumn | Name of the data source column that contains unique keys. |
string[] | columnNames | Array with the names of the columns that are included in the map. |
int | displayColumn | Name of the column that is displayed in the grid. |
Initializes a new instance of a bound MultiColumnDictionary class.
public MultiColumnDictionary(ITypedList list, string keyColumn)
Type | Name | Description |
---|---|---|
ITypedList | list | Data source object. |
string | keyColumn | Name of the data source column that contains unique keys. |
This constructor causes the map to show all columns when the editor is dropped down and only the first column when the editor is closed or inactive.
Initializes a new instance of a bound MultiColumnDictionary class.
public MultiColumnDictionary(DataTable table, string keyColumn, string[] columnNames, int displayColumn)
Type | Name | Description |
---|---|---|
DataTable | table | Data source object. |
string | keyColumn | Name of the data source column that contains unique keys. |
string[] | columnNames | Array with the names of the columns that are included in the map. |
int | displayColumn | Name of the column that is displayed in the grid. |
Initializes a new instance of a bound MultiColumnDictionary class.
public MultiColumnDictionary(DataTable table, string keyColumn)
Type | Name | Description |
---|---|---|
DataTable | table | Data source object. |
string | keyColumn | Name of the data source column that contains unique keys. |