if (ScrollingDirection == Direction.Horizontal)
{
- ContentContainer.SizeWidth = ItemsLayouter.CalculateLayoutOrientationSize();
+ ContentContainer.SizeWidth = (float)ItemsLayouter?.CalculateLayoutOrientationSize();
}
else
{
- ContentContainer.SizeHeight = ItemsLayouter.CalculateLayoutOrientationSize();
+ ContentContainer.SizeHeight = (float)ItemsLayouter?.CalculateLayoutOrientationSize();
}
}