Skip to content

Commit fc90ad0

Browse files
committed
Fixed binding on MinRatio in contrast samples
1 parent 92087f6 commit fc90ad0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

components/ColorAnalyzer/samples/ContrastHelper/ContrastHelperSampleBase.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ public abstract partial class ContrastHelperSampleBase : Page
1818
public static readonly DependencyProperty DesiredForegroundProperty =
1919
DependencyProperty.Register(nameof(DesiredForeground), typeof(Color), typeof(ContrastHelperSampleBase), new PropertyMetadata(Colors.White));
2020

21-
private static readonly DependencyProperty MinRatioProperty =
21+
public static readonly DependencyProperty MinRatioProperty =
2222
DependencyProperty.Register(nameof(MinRatio), typeof(double), typeof(ContrastHelperSampleBase), new PropertyMetadata(3d));
2323

2424
public ContrastHelperSampleBase()

0 commit comments

Comments
 (0)