12 references to ScrollUnitProperty
PresentationFramework (12)
System\Windows\Controls\ItemsControl.cs (4)
67VirtualizingStackPanel.ScrollUnitProperty.OverrideMetadata(typeof(ItemsControl), new FrameworkPropertyMetadata(new PropertyChangedCallback(OnScrollingModeChanged), new CoerceValueCallback(CoerceScrollingMode))); 75d.CoerceValue(VirtualizingStackPanel.ScrollUnitProperty); 83BaseValueSource baseValueSource = DependencyPropertyHelper.GetValueSource(d, VirtualizingStackPanel.ScrollUnitProperty).BaseValueSource; 936CoerceValue(VirtualizingStackPanel.ScrollUnitProperty);
System\Windows\Controls\ScrollUnit.cs (1)
13/// Used by <see cref="VirtualizingPanel.ScrollUnitProperty" />.
System\Windows\Controls\TreeView.cs (1)
41VirtualizingStackPanel.ScrollUnitProperty.OverrideMetadata(typeof(TreeView), new FrameworkPropertyMetadata(ScrollUnit.Pixel));
System\Windows\Controls\TreeViewItem.cs (1)
950SynchronizeValue(VirtualizingPanel.ScrollUnitProperty, parent, element);
System\Windows\Controls\VirtualizingPanel.cs (5)
163/// Retrieves the value for <see cref="ScrollUnitProperty" />. 170return (ScrollUnit)element.GetValue(ScrollUnitProperty); 174/// Sets the value for <see cref="ScrollUnitProperty" />. 181element.SetValue(ScrollUnitProperty, value); 367dp == VirtualizingPanel.ScrollUnitProperty)