Skip to content

Commit

Permalink
Fix AutoFillChildren property for UWP
Browse files Browse the repository at this point in the history
  • Loading branch information
sourcechord committed Oct 21, 2017
1 parent e87fd36 commit ea15196
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions GridExtra.Shared/GridEx.cs
Original file line number Diff line number Diff line change
Expand Up @@ -618,6 +618,11 @@ private static void OnAreaChanged(DependencyObject d, DependencyPropertyChangedE

// 子要素全体のAutoFillを計算しなおす
var grid = ctrl.Parent as Grid;
if (grid == null)
{
return;
}

var isAutoFill = GetAutoFillChildren(grid);
if (isAutoFill)
{
Expand Down

0 comments on commit ea15196

Please sign in to comment.