public void Save() { layerModel.Strokes = StrokeConverter.ToNineStrokes(Strokes); }
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)); }