12 references to ScrollUnitProperty
PresentationFramework (12)
src\Framework\System\Windows\Controls\ItemsControl.cs (4)
68
VirtualizingStackPanel.
ScrollUnitProperty
.OverrideMetadata(typeof(ItemsControl), new FrameworkPropertyMetadata(new PropertyChangedCallback(OnScrollingModeChanged), new CoerceValueCallback(CoerceScrollingMode)));
76
d.CoerceValue(VirtualizingStackPanel.
ScrollUnitProperty
);
84
BaseValueSource baseValueSource = DependencyPropertyHelper.GetValueSource(d, VirtualizingStackPanel.
ScrollUnitProperty
).BaseValueSource;
938
CoerceValue(VirtualizingStackPanel.
ScrollUnitProperty
);
src\Framework\System\Windows\Controls\ScrollUnit.cs (1)
14
/// Used by <see cref="VirtualizingPanel.
ScrollUnitProperty
" />.
src\Framework\System\Windows\Controls\TreeView.cs (1)
42
VirtualizingStackPanel.
ScrollUnitProperty
.OverrideMetadata(typeof(TreeView), new FrameworkPropertyMetadata(ScrollUnit.Pixel));
src\Framework\System\Windows\Controls\TreeViewItem.cs (1)
950
SynchronizeValue(VirtualizingPanel.
ScrollUnitProperty
, parent, element);
src\Framework\System\Windows\Controls\VirtualizingPanel.cs (5)
182
/// Retrieves the value for <see cref="
ScrollUnitProperty
" />.
192
return (ScrollUnit)element.GetValue(
ScrollUnitProperty
);
196
/// Sets the value for <see cref="
ScrollUnitProperty
" />.
206
element.SetValue(
ScrollUnitProperty
, value);
413
dp == VirtualizingPanel.
ScrollUnitProperty
)