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