private void LoadSelectionMaskCommandExecute(ISelectionMask selectionMask) { int i = 0; foreach (var trendViewModel in ContextMenuTrendsContainer.Trends) { trendViewModel.IsOnPlot = selectionMask.ContainsItemNumber(i); i++; } }
private void LoadSelectionMaskCommandExecute(ISelectionMask obj) { throw new System.NotImplementedException(); }
public bool Contains(ISelectionMask mask) { return(Items.Any(selectionMask => selectionMask.Name == mask.Name)); }