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