diff --git a/components/ColorAnalyzer/src/ColorPaletteSampler/ColorSources/StreamColorSource.cs b/components/ColorAnalyzer/src/ColorPaletteSampler/ColorSources/StreamColorSource.cs
index eca0200f1..90ae099d7 100644
--- a/components/ColorAnalyzer/src/ColorPaletteSampler/ColorSources/StreamColorSource.cs
+++ b/components/ColorAnalyzer/src/ColorPaletteSampler/ColorSources/StreamColorSource.cs
@@ -15,7 +15,7 @@ public class StreamColorSource : ColorSource
/// Gets the for the property.
///
public static readonly DependencyProperty SourceProperty =
- DependencyProperty.Register(nameof(Source), typeof(UIElement), typeof(StreamColorSource), new PropertyMetadata(null, OnSourceChanged));
+ DependencyProperty.Register(nameof(Source), typeof(Stream), typeof(StreamColorSource), new PropertyMetadata(null, OnSourceChanged));
///
/// Gets or sets the source sampled for a color palette.