@@ -21,7 +21,6 @@ namespace Microsoft.Toolkit.Uwp.UI.Controls
21
21
[ TemplateVisualState ( Name = UnloadedState , GroupName = CommonGroup ) ]
22
22
[ TemplateVisualState ( Name = FailedState , GroupName = CommonGroup ) ]
23
23
[ TemplatePart ( Name = PartImage , Type = typeof ( object ) ) ]
24
- [ TemplatePart ( Name = PartProgress , Type = typeof ( ProgressRing ) ) ]
25
24
public abstract partial class ImageExBase : Control
26
25
{
27
26
private bool _isInViewport ;
@@ -31,11 +30,6 @@ public abstract partial class ImageExBase : Control
31
30
/// </summary>
32
31
protected const string PartImage = "Image" ;
33
32
34
- /// <summary>
35
- /// ProgressRing name in template
36
- /// </summary>
37
- protected const string PartProgress = "Progress" ;
38
-
39
33
/// <summary>
40
34
/// VisualStates name in template
41
35
/// </summary>
@@ -66,11 +60,6 @@ public abstract partial class ImageExBase : Control
66
60
/// </summary>
67
61
protected object Image { get ; private set ; }
68
62
69
- /// <summary>
70
- /// Gets backing object for the ProgressRing
71
- /// </summary>
72
- protected ProgressRing Progress { get ; private set ; }
73
-
74
63
/// <summary>
75
64
/// Gets object used for lock
76
65
/// </summary>
@@ -169,7 +158,6 @@ protected override void OnApplyTemplate()
169
158
RemoveImageFailed ( OnImageFailed ) ;
170
159
171
160
Image = GetTemplateChild ( PartImage ) as object ;
172
- Progress = GetTemplateChild ( PartProgress ) as ProgressRing ;
173
161
174
162
IsInitialized = true ;
175
163
0 commit comments