2 references to CoerceOffset
System.Windows.Controls.Ribbon (2)
Microsoft\Windows\Controls\Ribbon\Primitives\RibbonGalleryCategoriesPanel.cs (2)
767
double scrollX =
CoerceOffset
(offset, _scrollData._extent.Width, _scrollData._viewport.Width);
781
double scrollY =
CoerceOffset
(offset, _scrollData._extent.Height, _scrollData._viewport.Height);