private static StrokeCollection StringToStroke(string stroke) { StrokeCollectionConverter converter = new StrokeCollectionConverter(); return (StrokeCollection)converter.ConvertFromString(stroke); }