Exemple #1
0
 private int getRowsCount() => LayoutUtil.GetVisibleCardsCount(
     Height,
     CardSize.Height,
     LayoutOptions.CardInterval.Height,
     LayoutOptions.PartialCardsThreshold.Height,
     LayoutOptions.AllowPartialCards);
Exemple #2
0
 private int getColumnsCount() => LayoutUtil.GetVisibleCardsCount(
     Width - ScrollWidth,
     CardSize.Width,
     LayoutOptions.CardInterval.Width,
     LayoutOptions.PartialCardsThreshold.Width,
     LayoutOptions.AllowPartialCards);