Example #1
0
 public void FilterExclusions(RowFilterArgs args)
 {
     if (ExcludedData.Contains(Data[args.SourceIndex]))
     {
         args.Visible = false;
     }
 }
Example #2
0
 public bool CanAddExclusion() => CurrentVisibleItem != null && !ExcludedData.Contains(CurrentVisibleItem);
Example #3
0
 public bool CanRemoveExclusion() => CurrentExcludedItem != null && ExcludedData.Contains(CurrentExcludedItem);
Example #4
0
 private bool CanAddExclusion(DataModel param)
 {
     return(param != null && Data.Contains(param) && !ExcludedData.Contains(param));
 }