46 references to GreaterThan
System.Windows.Controls.Ribbon (46)
Microsoft\Windows\Controls\KeyTipAdorner.cs (2)
355else if (DoubleUtil.GreaterThan(keyTipControlRect.Right, adornerLayerRect.Right)) 366else if (DoubleUtil.GreaterThan(keyTipControlRect.Bottom, adornerLayerRect.Bottom))
Microsoft\Windows\Controls\Ribbon\Primitives\RibbonContextualTabGroupsPanel.cs (3)
61if ( DoubleUtil.GreaterThan(desiredExtraPadding, 0.0) && 62DoubleUtil.GreaterThan(tabHeadersPanelSpaceAvailable, 0.0)) 82tabGroupHeader.ShowLabelToolTip = DoubleUtil.GreaterThan(tabGroupHeader.IdealDesiredWidth, width);
Microsoft\Windows\Controls\Ribbon\Primitives\RibbonGalleryCategoriesPanel.cs (3)
177bool fBelow = DoubleUtil.GreaterThan(bottomChild, bottomView) && DoubleUtil.GreaterThan(topChild, topView); 399if (!category.IsSharedColumnSizeScope && DoubleUtil.GreaterThan(category.MaxColumnWidth, maxColumnWidth))
Microsoft\Windows\Controls\Ribbon\Primitives\RibbonGroupItemsPanel.cs (2)
66if (DoubleUtil.GreaterThan(childDesiredSize.Height, remainingHeightInColumn)) 212if (DoubleUtil.GreaterThan(columnHeight + childDesiredSize.Height, availableSize.Height))
Microsoft\Windows\Controls\Ribbon\Primitives\RibbonGroupsPanel.cs (14)
151if (DoubleUtil.GreaterThan(remainingSpace, 0)) 159if ((DoubleUtil.GreaterThanOrClose(_cachedRemainingSpace, 0) && (DoubleUtil.LessThan(remainingSpace, 0) || DoubleUtil.GreaterThan(remainingSpace, _cachedRemainingSpace))) || 160(DoubleUtil.LessThan(_cachedRemainingSpace, 0) && DoubleUtil.GreaterThan(remainingSpace, 0))) 165while (DoubleUtil.GreaterThan(remainingSpace, 0)) 177if (DoubleUtil.GreaterThan(remainingSpace, 0)) 235if (DoubleUtil.GreaterThan(remainingSpace, 0)) 252else if (DoubleUtil.GreaterThan(remainingSpace, 0)) 383if (starLayoutInfo != null && DoubleUtil.GreaterThan(starLayoutInfo.RequestedStarWeight, 0)) 400if (DoubleUtil.GreaterThan(remainingSpace, 0)) 412if (rightMostEqualizerIndex >= 0 && DoubleUtil.GreaterThan(remainingSpace, 0)) 437Debug.Assert(DoubleUtil.GreaterThan(remainingSpace, 0)); 503Debug.Assert(DoubleUtil.GreaterThan(remainingSpace, 0)); 515if (DoubleUtil.GreaterThan(remainingSpace, 0)) 520if (DoubleUtil.GreaterThan(currentContribution * remainingStarWeight, remainingSpace))
Microsoft\Windows\Controls\Ribbon\Primitives\RibbonMenuItemsPanel.cs (1)
213if (DoubleUtil.GreaterThan(remainingHeight, 0.0) && starLayoutTargets.Count > 0)
Microsoft\Windows\Controls\Ribbon\Primitives\RibbonQuickAccessToolBarPanel.cs (1)
208if (DoubleUtil.GreaterThan(newExtent, maxExtent))
Microsoft\Windows\Controls\Ribbon\Primitives\RibbonTabHeadersPanel.cs (8)
62if (DoubleUtil.GreaterThan(overflowWidth, 0)) 68if (DoubleUtil.GreaterThan(overflowWidth, totalDefaultPaddingAllTabHeaders)) // Clipping is necessary - all tabs padding will we 0 120if (ctg != null && DoubleUtil.GreaterThan(ctg.DesiredExtraPaddingPerTab, 0.0)) 235if (!SystemParameters.HighContrast && DoubleUtil.GreaterThan(_separatorOpacity, 0)) 553if (tabGroup != null && DoubleUtil.GreaterThan(tabGroup.DesiredExtraPaddingPerTab, 0.0)) 824if (DoubleUtil.GreaterThan(offset, extent - viewport)) 955bool fBelow = DoubleUtil.GreaterThan(bottomChild, bottomView) && DoubleUtil.GreaterThan(topChild, topView);
Microsoft\Windows\Controls\Ribbon\Primitives\RibbonTabsPanel.cs (2)
192bool fBelow = DoubleUtil.GreaterThan(bottomChild, bottomView) && DoubleUtil.GreaterThan(topChild, topView);
Microsoft\Windows\Controls\Ribbon\Primitives\RibbonTitlePanel.cs (2)
108DoubleUtil.GreaterThan(startContextualTabX, endContextualTabX)) 109&& DoubleUtil.GreaterThan(startContextualTabX, titleHost.MinWidth))
Microsoft\Windows\Controls\Ribbon\Primitives\StarLayoutInfo.cs (1)
141DoubleUtil.GreaterThan(starMaxWidth, 0.0));
Microsoft\Windows\Controls\Ribbon\Ribbon.cs (1)
976if (DoubleUtil.GreaterThan(Math.Abs(_mouseWheelCumulativeDelta), MouseWheelSelectionChangeThreshold))
Microsoft\Windows\Controls\Ribbon\RibbonDropDownHelper.cs (1)
218if (popupChild != null && DoubleUtil.GreaterThan(popupChild.MinWidth, minSize.Width))
Microsoft\Windows\Controls\Ribbon\RibbonGallery.cs (1)
2731if ((FlowDirection == FlowDirection.LeftToRight && DoubleUtil.GreaterThan(predictedFocusedOrigin.X, focusedOrigin.X)) ||
Microsoft\Windows\Controls\Ribbon\RibbonHelper.cs (2)
1115if (DoubleUtil.GreaterThan(position.X, 0) && 1116DoubleUtil.GreaterThan(position.Y, 0) &&
Microsoft\Windows\Controls\Ribbon\RibbonTabHeader.cs (2)
656DoubleUtil.GreaterThan(tabHeaderCenterX, tabHeaderItemsControl.ActualWidth)) 668DoubleUtil.GreaterThan(horizontalOffset, ribbon.ActualWidth))