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