[]
Initializes a new instance of a ColumnValueConverter.
public ColumnValueConverter()
Initializes a new instance of a ColumnValueConverter based on a dictionary.
public ColumnValueConverter(IDictionary dictionary)
| Type | Name | Description |
|---|---|---|
| IDictionary | dictionary | Dictionary that contains the data (key) and display values for a grid column. |
Initializes a new instance of a ColumnValueConverter based on a simple value list.
public ColumnValueConverter(ICollection values, bool exclusive)
| Type | Name | Description |
|---|---|---|
| ICollection | values | List with valid values for a grid column. |
| bool | exclusive | Whether the column may contain values not included in the
|
Initializes a new instance of a ColumnValueConverter based on an object collection.
public ColumnValueConverter(IEnumerable values, string valuePath, string displayMemberPath)
| 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. |