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