2 references to ComputeScrollOffsetWithMinimalScroll
System.Windows.Controls.Ribbon (2)
Microsoft\Windows\Controls\Ribbon\Primitives\RibbonGalleryCategoriesPanel.cs (2)
837
double minX =
ComputeScrollOffsetWithMinimalScroll
(viewport.Left, viewport.Right, rectangle.Left, rectangle.Right);
838
double minY =
ComputeScrollOffsetWithMinimalScroll
(viewport.Top, viewport.Bottom, rectangle.Top, rectangle.Bottom);