21 references to GreaterThanOrClose
System.Windows.Controls.Ribbon (21)
Microsoft\Windows\Controls\Ribbon\Primitives\RibbonContextualTabGroupsPanel.cs (1)
51
if (tabGroupHeader.Visibility == Visibility.Visible && tabGroupHeader.FirstVisibleTab != null && DoubleUtil.
GreaterThanOrClose
(remainingSpace, 0.0))
Microsoft\Windows\Controls\Ribbon\Primitives\RibbonGroupsPanel.cs (2)
159
if ((DoubleUtil.
GreaterThanOrClose
(_cachedRemainingSpace, 0) && (DoubleUtil.LessThan(remainingSpace, 0) || DoubleUtil.GreaterThan(remainingSpace, _cachedRemainingSpace))) ||
180
DoubleUtil.
GreaterThanOrClose
(remainingSpace, _nextGroupIncreaseWidth))
Microsoft\Windows\Controls\Ribbon\Primitives\RibbonTabHeadersPanel.cs (3)
87
if (DoubleUtil.
GreaterThanOrClose
(totalDefaultPaddingRegularTabHeaders, overflowWidth))
520
if (DoubleUtil.
GreaterThanOrClose
(maxTabHeaderWidth, currentWidth))
580
if (DoubleUtil.
GreaterThanOrClose
(maxDesiredPadding, currentDesiredPadding))
Microsoft\Windows\Controls\Ribbon\Primitives\StarLayoutInfo.cs (2)
108
DoubleUtil.
GreaterThanOrClose
(starWeight, 0.0));
122
DoubleUtil.
GreaterThanOrClose
(starMinWidth, 0.0));
Microsoft\Windows\Controls\Ribbon\Ribbon.cs (1)
920
ContextualTabGroupItemsControl.ForceCollapse = !(DoubleUtil.
GreaterThanOrClose
(e.ViewportWidth, e.ExtentWidth));
Microsoft\Windows\Controls\Ribbon\RibbonDropDownHelper.cs (10)
66
bool isAtBottomScreenEdge = DoubleUtil.
GreaterThanOrClose
(rootScreenBounds.Bottom, screenBounds.Bottom);
68
bool isAtRightScreenEdge = DoubleUtil.
GreaterThanOrClose
(rootScreenBounds.Right, screenBounds.Right);
73
bool isAlmostAtBottomScreenEdge = DoubleUtil.
GreaterThanOrClose
(rootScreenBounds.Bottom + verticalDelta, screenBounds.Bottom);
75
bool isAlmostAtRightScreenEdge = DoubleUtil.
GreaterThanOrClose
(rootScreenBounds.Right + horizontalDelta, screenBounds.Right);
80
if (isAtTopScreenEdge && DoubleUtil.
GreaterThanOrClose
(verticalDelta, 0))
91
if (isAtBottomScreenEdge && DoubleUtil.
GreaterThanOrClose
(verticalDelta, 0))
103
if (isAtRightScreenEdge && DoubleUtil.
GreaterThanOrClose
(horizontalDelta, 0))
112
if (isAtLeftScreenEdge && DoubleUtil.
GreaterThanOrClose
(horizontalDelta, 0))
135
if (canUserResizeHorizontally && DoubleUtil.
GreaterThanOrClose
(newWidth, 0) &&
142
if (canUserResizeVertically && DoubleUtil.
GreaterThanOrClose
(newHeight, 0)
Microsoft\Windows\Controls\Ribbon\RibbonGroup.cs (2)
1699
if (DoubleUtil.
GreaterThanOrClose
(horizontalOffset, 0) &&
1729
if (DoubleUtil.
GreaterThanOrClose
(horizontalOffset, 0) &&