46 references to GreaterThan
System.Windows.Controls.Ribbon (46)
Microsoft\Windows\Controls\KeyTipAdorner.cs (2)
351else if (DoubleUtil.GreaterThan(keyTipControlRect.Right, adornerLayerRect.Right)) 362else if (DoubleUtil.GreaterThan(keyTipControlRect.Bottom, adornerLayerRect.Bottom))
Microsoft\Windows\Controls\Ribbon\Primitives\RibbonContextualTabGroupsPanel.cs (3)
60if ( DoubleUtil.GreaterThan(desiredExtraPadding, 0.0) && 61DoubleUtil.GreaterThan(tabHeadersPanelSpaceAvailable, 0.0)) 81tabGroupHeader.ShowLabelToolTip = DoubleUtil.GreaterThan(tabGroupHeader.IdealDesiredWidth, width);
Microsoft\Windows\Controls\Ribbon\Primitives\RibbonGalleryCategoriesPanel.cs (3)
176bool fBelow = DoubleUtil.GreaterThan(bottomChild, bottomView) && DoubleUtil.GreaterThan(topChild, topView); 398if (!category.IsSharedColumnSizeScope && DoubleUtil.GreaterThan(category.MaxColumnWidth, maxColumnWidth))
Microsoft\Windows\Controls\Ribbon\Primitives\RibbonGroupItemsPanel.cs (2)
65if (DoubleUtil.GreaterThan(childDesiredSize.Height, remainingHeightInColumn)) 211if (DoubleUtil.GreaterThan(columnHeight + childDesiredSize.Height, availableSize.Height))
Microsoft\Windows\Controls\Ribbon\Primitives\RibbonGroupsPanel.cs (14)
150if (DoubleUtil.GreaterThan(remainingSpace, 0)) 158if ((DoubleUtil.GreaterThanOrClose(_cachedRemainingSpace, 0) && (DoubleUtil.LessThan(remainingSpace, 0) || DoubleUtil.GreaterThan(remainingSpace, _cachedRemainingSpace))) || 159(DoubleUtil.LessThan(_cachedRemainingSpace, 0) && DoubleUtil.GreaterThan(remainingSpace, 0))) 164while (DoubleUtil.GreaterThan(remainingSpace, 0)) 176if (DoubleUtil.GreaterThan(remainingSpace, 0)) 234if (DoubleUtil.GreaterThan(remainingSpace, 0)) 251else if (DoubleUtil.GreaterThan(remainingSpace, 0)) 382if (starLayoutInfo != null && DoubleUtil.GreaterThan(starLayoutInfo.RequestedStarWeight, 0)) 399if (DoubleUtil.GreaterThan(remainingSpace, 0)) 411if (rightMostEqualizerIndex >= 0 && DoubleUtil.GreaterThan(remainingSpace, 0)) 436Debug.Assert(DoubleUtil.GreaterThan(remainingSpace, 0)); 502Debug.Assert(DoubleUtil.GreaterThan(remainingSpace, 0)); 514if (DoubleUtil.GreaterThan(remainingSpace, 0)) 519if (DoubleUtil.GreaterThan(currentContribution * remainingStarWeight, remainingSpace))
Microsoft\Windows\Controls\Ribbon\Primitives\RibbonMenuItemsPanel.cs (1)
212if (DoubleUtil.GreaterThan(remainingHeight, 0.0) && starLayoutTargets.Count > 0)
Microsoft\Windows\Controls\Ribbon\Primitives\RibbonQuickAccessToolBarPanel.cs (1)
207if (DoubleUtil.GreaterThan(newExtent, maxExtent))
Microsoft\Windows\Controls\Ribbon\Primitives\RibbonTabHeadersPanel.cs (8)
61if (DoubleUtil.GreaterThan(overflowWidth, 0)) 67if (DoubleUtil.GreaterThan(overflowWidth, totalDefaultPaddingAllTabHeaders)) // Clipping is necessary - all tabs padding will we 0 119if (ctg != null && DoubleUtil.GreaterThan(ctg.DesiredExtraPaddingPerTab, 0.0)) 234if (!SystemParameters.HighContrast && DoubleUtil.GreaterThan(_separatorOpacity, 0)) 552if (tabGroup != null && DoubleUtil.GreaterThan(tabGroup.DesiredExtraPaddingPerTab, 0.0)) 820if (DoubleUtil.GreaterThan(offset, extent - viewport)) 948bool fBelow = DoubleUtil.GreaterThan(bottomChild, bottomView) && DoubleUtil.GreaterThan(topChild, topView);
Microsoft\Windows\Controls\Ribbon\Primitives\RibbonTabsPanel.cs (2)
191bool fBelow = DoubleUtil.GreaterThan(bottomChild, bottomView) && DoubleUtil.GreaterThan(topChild, topView);
Microsoft\Windows\Controls\Ribbon\Primitives\RibbonTitlePanel.cs (2)
107DoubleUtil.GreaterThan(startContextualTabX, endContextualTabX)) 108&& DoubleUtil.GreaterThan(startContextualTabX, titleHost.MinWidth))
Microsoft\Windows\Controls\Ribbon\Primitives\StarLayoutInfo.cs (1)
140DoubleUtil.GreaterThan(starMaxWidth, 0.0));
Microsoft\Windows\Controls\Ribbon\Ribbon.cs (1)
975if (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)
1112if (DoubleUtil.GreaterThan(position.X, 0) && 1113DoubleUtil.GreaterThan(position.Y, 0) &&
Microsoft\Windows\Controls\Ribbon\RibbonTabHeader.cs (2)
652DoubleUtil.GreaterThan(tabHeaderCenterX, tabHeaderItemsControl.ActualWidth)) 664DoubleUtil.GreaterThan(horizontalOffset, ribbon.ActualWidth))