From 7516543e52f5c11e6f0e0ec97d1cdcd534145272 Mon Sep 17 00:00:00 2001 From: Avishai Dernis Date: Wed, 14 Jan 2026 23:25:35 +0200 Subject: [PATCH] Fixed DP registration type in StreamColorSource --- .../src/ColorPaletteSampler/ColorSources/StreamColorSource.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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.