15 references to VirtualizationMode
PresentationFramework (15)
src\Framework\System\Windows\Controls\DataGrid.cs (1)
49
VirtualizingPanel.VirtualizationModeProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(
VirtualizationMode
.Recycling));
src\Framework\System\Windows\Controls\DataGridCellsPanel.cs (1)
1877
InRecyclingMode = (VirtualizingPanel.GetVirtualizationMode(parentPresenter) ==
VirtualizationMode
.Recycling);
src\Framework\System\Windows\Controls\GroupItem.cs (1)
82
if (itemsControl != null && VirtualizingPanel.GetIsVirtualizing(itemsControl) && VirtualizingPanel.GetVirtualizationMode(itemsControl) ==
VirtualizationMode
.Recycling)
src\Framework\System\Windows\Controls\Primitives\DataGridCellsPresenter.cs (1)
49
VirtualizingPanel.VirtualizationModeProperty.OverrideMetadata(typeof(DataGridCellsPresenter), new FrameworkPropertyMetadata(
VirtualizationMode
.Recycling));
src\Framework\System\Windows\Controls\Primitives\DataGridColumnHeadersPresenter.cs (1)
52
new FrameworkPropertyMetadata(
VirtualizationMode
.Recycling));
src\Framework\System\Windows\Controls\VirtualizingPanel.cs (5)
102
DependencyProperty.RegisterAttached("VirtualizationMode", typeof(
VirtualizationMode
), typeof(VirtualizingPanel),
103
new FrameworkPropertyMetadata(
VirtualizationMode
.Standard, FrameworkPropertyMetadataOptions.AffectsMeasure, new PropertyChangedCallback(OnVirtualizationPropertyChanged)));
110
public static
VirtualizationMode
GetVirtualizationMode(DependencyObject element)
117
return (
VirtualizationMode
)element.GetValue(VirtualizationModeProperty);
125
public static void SetVirtualizationMode(DependencyObject element,
VirtualizationMode
value)
src\Framework\System\Windows\Controls\VirtualizingStackPanel.cs (5)
4163
VirtualizationMode
virtualizationMode = GetVirtualizationMode(itemsControl);
4186
VirtualizationMode
oldVirtualizationMode = InRecyclingMode ?
VirtualizationMode
.Recycling :
VirtualizationMode
.Standard;
4197
InRecyclingMode = (virtualizationMode ==
VirtualizationMode
.Recycling);