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)
48
VirtualizingPanel.VirtualizationModeProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(
VirtualizationMode
.Recycling));
System\Windows\Controls\DataGridCellsPanel.cs (1)
1875
InRecyclingMode = (VirtualizingPanel.GetVirtualizationMode(parentPresenter) ==
VirtualizationMode
.Recycling);
System\Windows\Controls\GroupItem.cs (1)
80
if (itemsControl != null && VirtualizingPanel.GetIsVirtualizing(itemsControl) && VirtualizingPanel.GetVirtualizationMode(itemsControl) ==
VirtualizationMode
.Recycling)
System\Windows\Controls\Primitives\DataGridCellsPresenter.cs (1)
48
VirtualizingPanel.VirtualizationModeProperty.OverrideMetadata(typeof(DataGridCellsPresenter), new FrameworkPropertyMetadata(
VirtualizationMode
.Recycling));
System\Windows\Controls\Primitives\DataGridColumnHeadersPresenter.cs (1)
52
new FrameworkPropertyMetadata(
VirtualizationMode
.Recycling));
System\Windows\Controls\VirtualizingPanel.cs (5)
95
DependencyProperty.RegisterAttached("VirtualizationMode", typeof(
VirtualizationMode
), typeof(VirtualizingPanel),
96
new FrameworkPropertyMetadata(
VirtualizationMode
.Standard, FrameworkPropertyMetadataOptions.AffectsMeasure, new PropertyChangedCallback(OnVirtualizationPropertyChanged)));
103
public static
VirtualizationMode
GetVirtualizationMode(DependencyObject element)
107
return (
VirtualizationMode
)element.GetValue(VirtualizationModeProperty);
115
public static void SetVirtualizationMode(DependencyObject element,
VirtualizationMode
value)
System\Windows\Controls\VirtualizingStackPanel.cs (5)
4245
VirtualizationMode
virtualizationMode = GetVirtualizationMode(itemsControl);
4268
VirtualizationMode
oldVirtualizationMode = InRecyclingMode ?
VirtualizationMode
.Recycling :
VirtualizationMode
.Standard;
4279
InRecyclingMode = (virtualizationMode ==
VirtualizationMode
.Recycling);