FlexGrid for WPF | ComponentOne
C1.WPF.FlexGrid.4.6.2 Assembly / C1.WPF.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.

In This Topic
    SetSource(IEnumerable,String,String) Method
    In This Topic
    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 IEnumerable, _
       ByVal valuePath As String, _
       ByVal displayMemberPath As String _
    ) 
    public void SetSource( 
       IEnumerable values,
       string valuePath,
       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