Sets the converter source to a list of objects that contain the keys (values stored in the column cells) and their corresponding display values.
Syntax
'Declaration
Public Overloads Sub SetSource( _
ByVal As System.Collections.IEnumerable, _
ByVal As System.String, _
ByVal As System.String _
)
public void SetSource(
System.Collections.IEnumerable ,
System.string ,
System.string
)
Parameters
- values
- Collection of objects that contain the key and display values for the column.
- valuePath
- Name of the property that contains the values stored in the grid.
- displayMemberPath
- Name of the property that contains the values displayed in the grid.
See Also