3 references to TopScreenEdgeBuffer
System.Windows.Controls.Ribbon (3)
Microsoft\Windows\Controls\Ribbon\RibbonDropDownHelper.cs (3)
67
bool isAtTopScreenEdge = DoubleUtil.LessThanOrClose(rootScreenBounds.Top, screenBounds.Top +
TopScreenEdgeBuffer
);
74
bool isAlmostAtTopScreenEdge = DoubleUtil.LessThanOrClose(rootScreenBounds.Top - verticalDelta, screenBounds.Top +
TopScreenEdgeBuffer
);
86
verticalDelta = rootScreenBounds.Top -
TopScreenEdgeBuffer
;