Skip to content

Commit efec72c

Browse files
committed
MultipleChoiceFilter sample - more flexibility as suggested in #19
1 parent 5656bf6 commit efec72c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

DataGridExtensionsSample/MultipleChoiceFilter.xaml.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ public IList<string> ExcludedItems
117117

118118
public bool IsMatch(object value)
119119
{
120-
return ExcludedItems?.Contains(value as string) != true;
120+
return ExcludedItems?.Contains(value?.ToString()) != true;
121121
}
122122
}
123123
}

0 commit comments

Comments
 (0)