16 references to VirtualizationMode
Microsoft.VisualStudio.LanguageServices (1)
DocumentOutline\VirtualizingTreeView.cs (1)
20VirtualizingPanel.SetVirtualizationMode(this, VirtualizationMode.Recycling);
PresentationFramework (15)
System\Windows\Controls\DataGrid.cs (1)
45VirtualizingPanel.VirtualizationModeProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(VirtualizationMode.Recycling));
System\Windows\Controls\DataGridCellsPanel.cs (1)
1871InRecyclingMode = (VirtualizingPanel.GetVirtualizationMode(parentPresenter) == VirtualizationMode.Recycling);
System\Windows\Controls\GroupItem.cs (1)
72if (itemsControl != null && VirtualizingPanel.GetIsVirtualizing(itemsControl) && VirtualizingPanel.GetVirtualizationMode(itemsControl) == VirtualizationMode.Recycling)
System\Windows\Controls\Primitives\DataGridCellsPresenter.cs (1)
43VirtualizingPanel.VirtualizationModeProperty.OverrideMetadata(typeof(DataGridCellsPresenter), new FrameworkPropertyMetadata(VirtualizationMode.Recycling));
System\Windows\Controls\Primitives\DataGridColumnHeadersPresenter.cs (1)
47new FrameworkPropertyMetadata(VirtualizationMode.Recycling));
System\Windows\Controls\VirtualizingPanel.cs (5)
89DependencyProperty.RegisterAttached("VirtualizationMode", typeof(VirtualizationMode), typeof(VirtualizingPanel), 90new FrameworkPropertyMetadata(VirtualizationMode.Standard, FrameworkPropertyMetadataOptions.AffectsMeasure, new PropertyChangedCallback(OnVirtualizationPropertyChanged))); 97public static VirtualizationMode GetVirtualizationMode(DependencyObject element) 101return (VirtualizationMode)element.GetValue(VirtualizationModeProperty); 109public static void SetVirtualizationMode(DependencyObject element, VirtualizationMode value)
System\Windows\Controls\VirtualizingStackPanel.cs (5)
4240VirtualizationMode virtualizationMode = GetVirtualizationMode(itemsControl); 4263VirtualizationMode oldVirtualizationMode = InRecyclingMode ? VirtualizationMode.Recycling : VirtualizationMode.Standard; 4274InRecyclingMode = (virtualizationMode == VirtualizationMode.Recycling);