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