public RealizedItemsInfo(IEnumerable items, bool vert, ItemVirtualizingCache cache, ITemplatedControl templatedParent) { Vert = vert; _cache = cache; _templatedParent = templatedParent; _items = items; }
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); } }
public RealizedItemsInfo2(IEnumerable items, bool vert, ItemVirtualizingCache cache, ITemplatedControl templatedParent) : base(items, vert, cache, templatedParent) { }