File tree Expand file tree Collapse file tree
components/WrapPanel2/src Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ public partial class WrapPanel2
1010 /// An attached property for identifying the requested layout of a child within the panel.
1111 /// </summary>
1212 public static readonly DependencyProperty LayoutLengthProperty =
13- DependencyProperty . Register (
13+ DependencyProperty . RegisterAttached (
1414 "LayoutLength" ,
1515 typeof ( GridLength ) ,
1616 typeof ( WrapPanel2 ) ,
@@ -50,7 +50,7 @@ public partial class WrapPanel2
5050 nameof ( ItemsJustification ) ,
5151 typeof ( WrapPanelItemsJustification ) ,
5252 typeof ( WrapPanel2 ) ,
53- new PropertyMetadata ( default ( bool ) , OnPropertyChanged ) ) ;
53+ new PropertyMetadata ( default ( WrapPanelItemsJustification ) , OnPropertyChanged ) ) ;
5454
5555 /// <summary>
5656 /// Backing <see cref="DependencyProperty"/> for the <see cref="ItemsStretch"/> property.
You can’t perform that action at this time.
0 commit comments