Example #1
0
 public void Save()
 {
     layerModel.Strokes = StrokeConverter.ToNineStrokes(Strokes);
 }
Example #2
0
 public object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture)
 {
     // From Windows Strokes to Nine Strokes (from View to Model)
     return(StrokeConverter.ToNineStrokes(value as WindowsInk.StrokeCollection));
 }