Skip to content

Commit 6af1a89

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

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
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>

components/WrapPanel2/src/WrapPanelItemsStretch.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ public enum WrapPanelItemsStretch
2727
First,
2828

2929
/// <summary>
30-
/// Ehe last item in the row will be stretched to fill the row.
30+
/// The last item in the row will be stretched to fill the row.
3131
/// </summary>
3232
Last,
3333

0 commit comments

Comments
 (0)