21 references to GreaterThanOrClose
System.Windows.Controls.Ribbon (21)
Microsoft\Windows\Controls\Ribbon\Primitives\RibbonContextualTabGroupsPanel.cs (1)
50
if (tabGroupHeader.Visibility == Visibility.Visible && tabGroupHeader.FirstVisibleTab != null && DoubleUtil.
GreaterThanOrClose
(remainingSpace, 0.0))
Microsoft\Windows\Controls\Ribbon\Primitives\RibbonGroupsPanel.cs (2)
158
if ((DoubleUtil.
GreaterThanOrClose
(_cachedRemainingSpace, 0) && (DoubleUtil.LessThan(remainingSpace, 0) || DoubleUtil.GreaterThan(remainingSpace, _cachedRemainingSpace))) ||
179
DoubleUtil.
GreaterThanOrClose
(remainingSpace, _nextGroupIncreaseWidth))
Microsoft\Windows\Controls\Ribbon\Primitives\RibbonTabHeadersPanel.cs (3)
86
if (DoubleUtil.
GreaterThanOrClose
(totalDefaultPaddingRegularTabHeaders, overflowWidth))
519
if (DoubleUtil.
GreaterThanOrClose
(maxTabHeaderWidth, currentWidth))
579
if (DoubleUtil.
GreaterThanOrClose
(maxDesiredPadding, currentDesiredPadding))
Microsoft\Windows\Controls\Ribbon\Primitives\StarLayoutInfo.cs (2)
107
DoubleUtil.
GreaterThanOrClose
(starWeight, 0.0));
121
DoubleUtil.
GreaterThanOrClose
(starMinWidth, 0.0));
Microsoft\Windows\Controls\Ribbon\Ribbon.cs (1)
919
ContextualTabGroupItemsControl.ForceCollapse = !(DoubleUtil.
GreaterThanOrClose
(e.ViewportWidth, e.ExtentWidth));
Microsoft\Windows\Controls\Ribbon\RibbonDropDownHelper.cs (10)
65
bool isAtBottomScreenEdge = DoubleUtil.
GreaterThanOrClose
(rootScreenBounds.Bottom, screenBounds.Bottom);
67
bool isAtRightScreenEdge = DoubleUtil.
GreaterThanOrClose
(rootScreenBounds.Right, screenBounds.Right);
72
bool isAlmostAtBottomScreenEdge = DoubleUtil.
GreaterThanOrClose
(rootScreenBounds.Bottom + verticalDelta, screenBounds.Bottom);
74
bool isAlmostAtRightScreenEdge = DoubleUtil.
GreaterThanOrClose
(rootScreenBounds.Right + horizontalDelta, screenBounds.Right);
79
if (isAtTopScreenEdge && DoubleUtil.
GreaterThanOrClose
(verticalDelta, 0))
90
if (isAtBottomScreenEdge && DoubleUtil.
GreaterThanOrClose
(verticalDelta, 0))
102
if (isAtRightScreenEdge && DoubleUtil.
GreaterThanOrClose
(horizontalDelta, 0))
111
if (isAtLeftScreenEdge && DoubleUtil.
GreaterThanOrClose
(horizontalDelta, 0))
134
if (canUserResizeHorizontally && DoubleUtil.
GreaterThanOrClose
(newWidth, 0) &&
141
if (canUserResizeVertically && DoubleUtil.
GreaterThanOrClose
(newHeight, 0)
Microsoft\Windows\Controls\Ribbon\RibbonGroup.cs (2)
1689
if (DoubleUtil.
GreaterThanOrClose
(horizontalOffset, 0) &&
1719
if (DoubleUtil.
GreaterThanOrClose
(horizontalOffset, 0) &&