Skip to content

Commit 7dfb6cf

Browse files
Fix mismatched types in DependencyProperty definitions (crashed on Skia, go Uno)
1 parent 5d53dc1 commit 7dfb6cf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

labs/SizerBase/src/Toolkit/OrientationToObjectConverter.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,13 +26,13 @@ public partial class OrientationToObjectConverter : DependencyObject, IValueConv
2626
/// Identifies the <see cref="HorizontalValue"/> property.
2727
/// </summary>
2828
public static readonly DependencyProperty HorizontalValueProperty =
29-
DependencyProperty.Register(nameof(HorizontalValue), typeof(object), typeof(TypeToObjectConverter), new PropertyMetadata(null));
29+
DependencyProperty.Register(nameof(HorizontalValue), typeof(object), typeof(OrientationToObjectConverter), new PropertyMetadata(null));
3030

3131
/// <summary>
3232
/// Identifies the <see cref="VerticalValue"/> property.
3333
/// </summary>
3434
public static readonly DependencyProperty VerticalValueProperty =
35-
DependencyProperty.Register(nameof(VerticalValue), typeof(object), typeof(TypeToObjectConverter), new PropertyMetadata(null));
35+
DependencyProperty.Register(nameof(VerticalValue), typeof(object), typeof(OrientationToObjectConverter), new PropertyMetadata(null));
3636

3737
/// <summary>
3838
/// Gets or sets the value to be returned when the <see cref="Orientation"/> of the provided value is <see cref="Orientation.Horizontal"/>.

0 commit comments

Comments
 (0)