示例#1
0
 public RealizedItemsInfo(IEnumerable items, bool vert, ItemVirtualizingCache cache, ITemplatedControl templatedParent)
 {
     Vert             = vert;
     _cache           = cache;
     _templatedParent = templatedParent;
     _items           = items;
 }
示例#2
0
 public RealizedItems(ItemsPresenter owner, GroupController groupControl, int id)
 {
     _owner        = owner;
     _panel        = owner.Panel;
     _items        = owner.Items;
     _generator    = owner.ItemContainerGenerator;
     _scrollViewer = owner.FindAncestorOfType <ScrollViewer>();
     _id           = id;
     _cache        = owner.VirtualizingCache;
     _groupControl = groupControl;
     if (owner.VirtualizationMode == ItemVirtualizationMode.Logical)
     {
         _info = new RealizedItemsInfo2(_items, groupControl.Vertical, _cache, groupControl.TemplatedParent);
     }
     else
     {
         _info = new RealizedItemsInfo(_items, groupControl.Vertical, _cache, groupControl.TemplatedParent);
     }
 }
示例#3
0
 public RealizedItemsInfo2(IEnumerable items, bool vert, ItemVirtualizingCache cache, ITemplatedControl templatedParent) : base(items, vert, cache, templatedParent)
 {
 }