ComponentOne DataGrid for WPF and Silverlight
C1.WPF.DataGrid Namespace / C1DataGridFilterHelper Class / GetMatchingDisplayValue Method
Value filter
IEnumerable contain data source
Property path of item for filter
Property path of item for collect
Filter operation
Is checking value match case
Is checking value match whole word

In This Topic
    GetMatchingDisplayValue Method
    In This Topic
    Get values has display property path match with input value from data source
    Syntax
    'Declaration
     
    
    Public Shared Function GetMatchingDisplayValue( _
       ByVal value As String, _
       ByVal items As IEnumerable, _
       ByVal displayMemberPath As String, _
       ByVal valueMemberPath As String, _
       ByVal operation As DataGridFilterOperation, _
       Optional ByVal matchCase As Boolean, _
       Optional ByVal matchWholeWord As Boolean, _
       Optional ByVal format As String, _
       Optional ByVal converter As IValueConverter _
    ) As List(Of Object)

    Parameters

    value
    Value filter
    items
    IEnumerable contain data source
    displayMemberPath
    Property path of item for filter
    valueMemberPath
    Property path of item for collect
    operation
    Filter operation
    matchCase
    Is checking value match case
    matchWholeWord
    Is checking value match whole word
    format
    converter
    See Also