The ColumnValueConverter type exposes the following members.

Constructors

  Name Description
Public method ColumnValueConverter()()()()
Initializes a new instance of a ColumnValueConverter.
Public method ColumnValueConverter(IDictionary)
Initializes a new instance of a ColumnValueConverter based on a dictionary.
Public method ColumnValueConverter(ICollection, Boolean)
Initializes a new instance of a ColumnValueConverter based on a simple value list.
Public method ColumnValueConverter(IEnumerable, String, String)
Initializes a new instance of a ColumnValueConverter based on an object collection.

Methods

  Name Description
Public method Convert
Converts data values into display values.
Public method ConvertBack
Converts display values back into data values.
Public method Equals (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Public method SetSource(IDictionary)
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 method SetSource(ICollection, Boolean)
Sets the converter source to a list of values to store in the cell.
Public method SetSource(IEnumerable, String, String)
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 method ToString (Inherited from Object.)

Properties

  Name Description
Public property Exclusive
Gets a value that determines whether the editor should only allow values present in the Values list.
Public property Values
Gets the collection of values that should be displayed by the editor.

See Also