Skip to content

Commit

Permalink
implemented new interface in TestScrollable
Browse files Browse the repository at this point in the history
  • Loading branch information
danwalmsley committed Mar 16, 2016
1 parent 8e9cf40 commit 4107a59
Showing 1 changed file with 16 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -208,6 +208,22 @@ public Size Viewport
}
}

public Size ScrollSize
{
get
{
return new Size(double.PositiveInfinity, 1);
}
}

public Size PageScrollSize
{
get
{
return new Size(double.PositiveInfinity, Viewport.Height);
}
}

protected override Size MeasureOverride(Size availableSize)
{
AvailableSize = availableSize;
Expand Down

0 comments on commit 4107a59

Please sign in to comment.