Skip to content

Commit f59a547

Browse files
committed
Fixed mismatched property and DependencyProperty name
1 parent 134e71c commit f59a547

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

components/WrapPanel2/src/WrapPanel2.Properties.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ public partial class WrapPanel2
4646
/// <summary>
4747
/// Backing <see cref="DependencyProperty"/> for the <see cref="ItemJustification"/> property.
4848
/// </summary>
49-
public static readonly DependencyProperty FixedRowLengthsProperty = DependencyProperty.Register(
49+
public static readonly DependencyProperty ItemJustificationProperty = DependencyProperty.Register(
5050
nameof(ItemJustification),
5151
typeof(bool),
5252
typeof(WrapPanel2),
@@ -100,8 +100,8 @@ public double LineSpacing
100100
/// </remarks>
101101
public bool ItemJustification
102102
{
103-
get => (bool)GetValue(FixedRowLengthsProperty);
104-
set => SetValue(FixedRowLengthsProperty, value);
103+
get => (bool)GetValue(ItemJustificationProperty);
104+
set => SetValue(ItemJustificationProperty, value);
105105
}
106106

107107
/// <summary>

0 commit comments

Comments
 (0)