|
0
|
1 |
using System; |
|
|
2 |
using System.Windows.Data; |
|
|
3 |
using System.Windows; |
|
|
4 |
using System.Windows.Controls; |
|
|
5 |
using System.Windows.Documents; |
|
|
6 |
using System.Windows.Ink; |
|
|
7 |
using System.Windows.Input; |
|
|
8 |
using System.Windows.Media; |
|
|
9 |
using System.Windows.Media.Animation; |
|
|
10 |
using System.Windows.Shapes; |
|
|
11 |
using System.Collections.Generic; |
|
|
12 |
namespace Iri.Modernisation.Controls.View |
|
|
13 |
{ |
|
|
14 |
public partial class AnnotationViewer : MenuableUserControl |
|
|
15 |
{ |
|
|
16 |
public AnnotationViewer() |
|
|
17 |
{ |
|
|
18 |
// Required to initialize variables |
|
|
19 |
InitializeComponent(); |
|
|
20 |
} |
|
|
21 |
} |
|
|
22 |
public class ArrayToString : IValueConverter |
|
|
23 |
{ |
|
|
24 |
public object Convert(object value, Type targetType, object parameter, System.Globalization.CultureInfo culture) |
|
|
25 |
{ |
|
|
26 |
|
|
|
27 |
try |
|
|
28 |
{ |
|
|
29 |
return String.Join(",", ((List<String>)value).ToArray()); |
|
|
30 |
} |
|
|
31 |
catch |
|
|
32 |
{ |
|
|
33 |
return String.Empty; |
|
|
34 |
} |
|
|
35 |
|
|
|
36 |
|
|
|
37 |
} |
|
|
38 |
|
|
|
39 |
public object ConvertBack(object value, Type targetType, object parameter, System.Globalization.CultureInfo culture) |
|
|
40 |
{ |
|
|
41 |
|
|
|
42 |
throw new NotImplementedException(); |
|
|
43 |
|
|
|
44 |
} |
|
|
45 |
} |
|
|
46 |
} |