ComponentOne FlexGrid for UWP
SetSource(IEnumerable,String,String) Method

C1.UWP.FlexGrid Assembly > C1.Xaml.FlexGrid Namespace > ColumnValueConverter Class > SetSource Method : SetSource(IEnumerable,String,String) Method
Collection of objects that contain the key and display values for the column.
Name of the property that contains the values stored in the grid.
Name of the property that contains the values displayed in the grid.
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 values As System.Collections.IEnumerable, _
   ByVal valuePath As System.String, _
   ByVal displayMemberPath As System.String _
) 
public void SetSource( 
   System.Collections.IEnumerable values,
   System.string valuePath,
   System.string displayMemberPath
)

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

Reference

ColumnValueConverter Class
ColumnValueConverter Members
Overload List