1
1
using System ;
2
- using System . Collections . Generic ;
3
- using System . Diagnostics ;
4
2
using System . Linq ;
5
- using System . Reflection ;
6
- using System . Text ;
7
- using System . Threading . Tasks ;
8
3
using System . Windows ;
9
4
using System . Windows . Controls ;
10
5
using System . Windows . Controls . Primitives ;
@@ -14,7 +9,7 @@ namespace MaterialDesignThemes.Wpf
14
9
public class ComboBoxPopup : Popup
15
10
{
16
11
public static readonly DependencyProperty UpContentTemplateProperty
17
- = DependencyProperty . Register ( nameof ( UpContentTemplateProperty ) ,
12
+ = DependencyProperty . Register ( nameof ( UpContentTemplate ) ,
18
13
typeof ( ControlTemplate ) ,
19
14
typeof ( ComboBoxPopup ) ,
20
15
new UIPropertyMetadata ( null ) ) ;
@@ -26,7 +21,7 @@ public ControlTemplate UpContentTemplate
26
21
}
27
22
28
23
public static readonly DependencyProperty DownContentTemplateProperty
29
- = DependencyProperty . Register ( nameof ( DownContentTemplateProperty ) ,
24
+ = DependencyProperty . Register ( nameof ( DownContentTemplate ) ,
30
25
typeof ( ControlTemplate ) ,
31
26
typeof ( ComboBoxPopup ) ,
32
27
new UIPropertyMetadata ( null ) ) ;
@@ -38,7 +33,7 @@ public ControlTemplate DownContentTemplate
38
33
}
39
34
40
35
public static readonly DependencyProperty DefaultContentTemplateProperty
41
- = DependencyProperty . Register ( nameof ( DefaultContentTemplateProperty ) ,
36
+ = DependencyProperty . Register ( nameof ( DefaultContentTemplate ) ,
42
37
typeof ( ControlTemplate ) ,
43
38
typeof ( ComboBoxPopup ) ,
44
39
new UIPropertyMetadata ( null ) ) ;
@@ -50,7 +45,7 @@ public ControlTemplate DefaultContentTemplate
50
45
}
51
46
52
47
public static readonly DependencyProperty UpVerticalOffsetProperty
53
- = DependencyProperty . Register ( nameof ( UpVerticalOffsetProperty ) ,
48
+ = DependencyProperty . Register ( nameof ( UpVerticalOffset ) ,
54
49
typeof ( double ) ,
55
50
typeof ( ComboBoxPopup ) ,
56
51
new PropertyMetadata ( 0.0 ) ) ;
@@ -62,7 +57,7 @@ public double UpVerticalOffset
62
57
}
63
58
64
59
public static readonly DependencyProperty DownVerticalOffsetProperty
65
- = DependencyProperty . Register ( nameof ( DownVerticalOffsetProperty ) ,
60
+ = DependencyProperty . Register ( nameof ( DownVerticalOffset ) ,
66
61
typeof ( double ) ,
67
62
typeof ( ComboBoxPopup ) ,
68
63
new PropertyMetadata ( 0.0 ) ) ;
@@ -74,7 +69,7 @@ public double DownVerticalOffset
74
69
}
75
70
76
71
public static readonly DependencyProperty DefaultVerticalOffsetProperty
77
- = DependencyProperty . Register ( nameof ( DefaultVerticalOffsetProperty ) ,
72
+ = DependencyProperty . Register ( nameof ( DefaultVerticalOffset ) ,
78
73
typeof ( double ) ,
79
74
typeof ( ComboBoxPopup ) ,
80
75
new PropertyMetadata ( 0.0 ) ) ;
0 commit comments