10 references to IndexFromContainer
PresentationFramework (10)
src\Framework\System\Windows\Controls\ItemContainerGenerator.cs (1)
614
return
IndexFromContainer
(container, false);
src\Framework\System\Windows\Controls\VirtualizingStackPanel.cs (9)
3698
int index = ((ItemContainerGenerator)generator).
IndexFromContainer
(itemsOwner, true /*returnLocalIndex*/);
8462
int currChildItemIndex = ((ItemContainerGenerator)generator).
IndexFromContainer
(child, true /*returnLocalIndex*/);
8515
int currChildItemIndex = ((ItemContainerGenerator)generator).
IndexFromContainer
(child, true /*returnLocalIndex*/);
10871
int itemIndex = generator.
IndexFromContainer
(child, true /*returnLocalIndex*/);
10969
childItemIndex = ((ItemContainerGenerator)itemsHost.Generator).
IndexFromContainer
(child, returnLocalIndex);
12036
int itemIndex = (generator != null) ? generator.
IndexFromContainer
(itemsOwner, returnLocalIndex:true) : -1;
12870
info._itemIndex = g.
IndexFromContainer
(child, returnLocalIndex:true);
12894
return String.Format(CultureInfo.InvariantCulture, "{0}", g.
IndexFromContainer
(container, returnLocalIndex:true));
12899
int localIndex = g.
IndexFromContainer
(container, returnLocalIndex:true);