1
1
using System ;
2
2
using System . Windows ;
3
- using System . Windows . Controls ;
4
3
using System . Windows . Media . Animation ;
5
4
using ControlzEx ;
6
5
@@ -16,21 +15,6 @@ public static readonly DependencyProperty BadgeChangedStoryboardProperty
16
15
typeof ( Badged ) ,
17
16
new PropertyMetadata ( default ( Storyboard ) ) ) ;
18
17
19
- /// <summary>Identifies the <see cref="BadgeTemplate"/> dependency property.</summary>
20
- public static readonly DependencyProperty BadgeTemplateProperty
21
- = DependencyProperty . Register ( nameof ( BadgeTemplate ) ,
22
- typeof ( DataTemplate ) ,
23
- typeof ( Badged ) ,
24
- new PropertyMetadata ( null ) ) ;
25
-
26
- /// <summary>Identifies the <see cref="BadgeTemplateSelector"/> dependency property.</summary>
27
- public static readonly DependencyProperty BadgeTemplateSelectorProperty
28
- = DependencyProperty . Register ( nameof ( BadgeTemplateSelector ) ,
29
- typeof ( DataTemplateSelector ) ,
30
- typeof ( Badged ) ,
31
- new PropertyMetadata ( null ) ) ;
32
-
33
-
34
18
public Storyboard BadgeChangedStoryboard
35
19
{
36
20
get => ( Storyboard ) this . GetValue ( BadgeChangedStoryboardProperty ) ;
@@ -66,30 +50,5 @@ private void OnBadgeChanged(object sender, RoutedPropertyChangedEventArgs<object
66
50
}
67
51
}
68
52
}
69
-
70
-
71
-
72
- /// <summary>
73
- /// Gets or Sets the <see cref="DataTemplate"/> for the Badge
74
- /// </summary>
75
- public DataTemplate BadgeTemplate
76
- {
77
- get { return ( DataTemplate ) GetValue ( BadgeTemplateProperty ) ; }
78
- set { SetValue ( BadgeTemplateProperty , value ) ; }
79
- }
80
-
81
- /// <summary>
82
- /// Gets or Sets the <see cref="DataTemplateSelector"/> for the Badge
83
- /// </summary>
84
- public DataTemplateSelector BadgeTemplateSelector
85
- {
86
- get { return ( DataTemplateSelector ) GetValue ( BadgeTemplateSelectorProperty ) ; }
87
- set { SetValue ( BadgeTemplateSelectorProperty , value ) ; }
88
- }
89
-
90
-
91
-
92
-
93
-
94
53
}
95
54
}
0 commit comments