12 references to ScrollUnitProperty
PresentationFramework (12)
System\Windows\Controls\ItemsControl.cs (4)
58
VirtualizingStackPanel.
ScrollUnitProperty
.OverrideMetadata(typeof(ItemsControl), new FrameworkPropertyMetadata(new PropertyChangedCallback(OnScrollingModeChanged), new CoerceValueCallback(CoerceScrollingMode)));
66
d.CoerceValue(VirtualizingStackPanel.
ScrollUnitProperty
);
74
BaseValueSource baseValueSource = DependencyPropertyHelper.GetValueSource(d, VirtualizingStackPanel.
ScrollUnitProperty
).BaseValueSource;
927
CoerceValue(VirtualizingStackPanel.
ScrollUnitProperty
);
System\Windows\Controls\ScrollUnit.cs (1)
9
/// Used by <see cref="VirtualizingPanel.
ScrollUnitProperty
" />.
System\Windows\Controls\TreeView.cs (1)
36
VirtualizingStackPanel.
ScrollUnitProperty
.OverrideMetadata(typeof(TreeView), new FrameworkPropertyMetadata(ScrollUnit.Pixel));
System\Windows\Controls\TreeViewItem.cs (1)
946
SynchronizeValue(VirtualizingPanel.
ScrollUnitProperty
, parent, element);
System\Windows\Controls\VirtualizingPanel.cs (5)
157
/// Retrieves the value for <see cref="
ScrollUnitProperty
" />.
164
return (ScrollUnit)element.GetValue(
ScrollUnitProperty
);
168
/// Sets the value for <see cref="
ScrollUnitProperty
" />.
175
element.SetValue(
ScrollUnitProperty
, value);
361
dp == VirtualizingPanel.
ScrollUnitProperty
)