[]
Sets the converter source to a dictionary containing keys (objects to store in the column cells) and their corresponding display values (strings to display to the user).
public void SetSource(IDictionary dictionary)
Public Sub SetSource(dictionary As IDictionary)
| Type | Name | Description |
|---|---|---|
| IDictionary | dictionary | Dictionary containing keys (objects to store in the column cells) and strings to display in the cells. |
Sets the converter source to a list of values to store in the cell.
public void SetSource(ICollection values, bool exclusive)
Public Sub SetSource(values As ICollection, exclusive As Boolean)
| Type | Name | Description |
|---|---|---|
| ICollection | values | Values to store in cells and display to user. |
| bool | exclusive | Whether the user can enter values that are not on the list. |
Sets the converter source to a list of objects that contain the keys (values stored in the column cells) and their corresponding display values.
public void SetSource(IEnumerable values, string valuePath, string displayMemberPath)
Public Sub SetSource(values As IEnumerable, valuePath As String, displayMemberPath As String)
| Type | Name | Description |
|---|---|---|
| IEnumerable | values | Collection of objects that contain the key and display values for the column. |
| string | valuePath | Name of the property that contains the values stored in the grid. |
| string | displayMemberPath | Name of the property that contains the values displayed in the grid. |