FancyScrollRectContext.cs 634 B

12345678910111213141516171819
  1. /*
  2. * FancyScrollView (https://github.com/setchi/FancyScrollView)
  3. * Copyright (c) 2020 setchi
  4. * Licensed under MIT (https://github.com/setchi/FancyScrollView/blob/master/LICENSE)
  5. */
  6. using System;
  7. namespace FancyScrollView
  8. {
  9. /// <summary>
  10. /// <see cref="FancyScrollRect{TItemData, TContext}"/> のコンテキスト基底クラス.
  11. /// </summary>
  12. public class FancyScrollRectContext : IFancyScrollRectContext
  13. {
  14. ScrollDirection IFancyScrollRectContext.ScrollDirection { get; set; }
  15. Func<(float ScrollSize, float ReuseMargin)> IFancyScrollRectContext.CalculateScrollSize { get; set; }
  16. }
  17. }