9 references to ScrollUnitProperty
PresentationFramework (9)
System\Windows\Controls\ItemsControl.cs (4)
57VirtualizingStackPanel.ScrollUnitProperty.OverrideMetadata(typeof(ItemsControl), new FrameworkPropertyMetadata(new PropertyChangedCallback(OnScrollingModeChanged), new CoerceValueCallback(CoerceScrollingMode))); 65d.CoerceValue(VirtualizingStackPanel.ScrollUnitProperty); 73BaseValueSource baseValueSource = DependencyPropertyHelper.GetValueSource(d, VirtualizingStackPanel.ScrollUnitProperty).BaseValueSource; 920CoerceValue(VirtualizingStackPanel.ScrollUnitProperty);
System\Windows\Controls\TreeView.cs (1)
35VirtualizingStackPanel.ScrollUnitProperty.OverrideMetadata(typeof(TreeView), new FrameworkPropertyMetadata(ScrollUnit.Pixel));
System\Windows\Controls\TreeViewItem.cs (1)
928SynchronizeValue(VirtualizingPanel.ScrollUnitProperty, parent, element);
System\Windows\Controls\VirtualizingPanel.cs (3)
163return (ScrollUnit)element.GetValue(ScrollUnitProperty); 174element.SetValue(ScrollUnitProperty, value); 357dp == VirtualizingPanel.ScrollUnitProperty)