private void inkcanvas_strokeCollected(object sender, StrokeAddedEventArgs e)
 {
     if (WaveManager.Wave.IsInWaveContainer())
     {
         var stringStroke = StrokeToString(e.stroke);
         Dictionary<string, string> dict = WaveManager.Wave.State.Get();
         foreach (KeyValuePair<string, string> kvp in dict.Where(pair => pair.Key.ToString().Equals("SLid")))
         {
             stringStroke += kvp.Value;
         }
         WaveManager.Wave.State.SubmitDelta("stroke", stringStroke);
     }
 }
 protected virtual void OnStrokeCollected(StrokeAddedEventArgs e)
 {
     StrokeCollected(this, e);
 }