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