Skip to content

Commit 7516543

Browse files
committed
Fixed DP registration type in StreamColorSource
1 parent c72fa2b commit 7516543

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

components/ColorAnalyzer/src/ColorPaletteSampler/ColorSources/StreamColorSource.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ public class StreamColorSource : ColorSource
1515
/// Gets the <see cref="DependencyProperty"/> for the <see cref="Source"/> property.
1616
/// </summary>
1717
public static readonly DependencyProperty SourceProperty =
18-
DependencyProperty.Register(nameof(Source), typeof(UIElement), typeof(StreamColorSource), new PropertyMetadata(null, OnSourceChanged));
18+
DependencyProperty.Register(nameof(Source), typeof(Stream), typeof(StreamColorSource), new PropertyMetadata(null, OnSourceChanged));
1919

2020
/// <summary>
2121
/// Gets or sets the <see cref="UIElement"/> source sampled for a color palette.

0 commit comments

Comments
 (0)