/// <summary>This type or member supports the Windows Presentation Foundation (WPF) infrastructure and is not intended to be used directly from your code.</summary> // Token: 0x0600276F RID: 10095 RVA: 0x000BA020 File Offset: 0x000B8220 void IScrollItemProvider.ScrollIntoView() { ListBox listBox = base.ItemsControlAutomationPeer.Owner as ListBox; if (listBox != null) { listBox.ScrollIntoView(base.Item); return; } ComboBoxAutomationPeer comboBoxAutomationPeer = base.ItemsControlAutomationPeer as ComboBoxAutomationPeer; if (comboBoxAutomationPeer != null) { comboBoxAutomationPeer.ScrollItemIntoView(base.Item); } }
void IScrollItemProvider.ScrollIntoView() { ListBox parent = ItemsControlAutomationPeer.Owner as ListBox; if (parent != null) { parent.ScrollIntoView(Item); } else { ComboBoxAutomationPeer parentPeer = ItemsControlAutomationPeer as ComboBoxAutomationPeer; if (parentPeer != null) { parentPeer.ScrollItemIntoView(Item); } } }