24 references to LessThan
System.Windows.Controls.Ribbon (24)
Microsoft\Windows\Controls\KeyTipAdorner.cs (4)
313
if (DoubleUtil.
LessThan
(Math.Abs(keyTipTopY), RibbonGroupKeyTipAxisNudgeSpace))
318
else if (DoubleUtil.
LessThan
(Math.Abs(itemsPresenter.ActualHeight - keyTipBottomY), RibbonGroupKeyTipAxisNudgeSpace))
351
if (DoubleUtil.
LessThan
(keyTipControlRect.Left, adornerLayerRect.Left))
362
if (DoubleUtil.
LessThan
(keyTipControlRect.Top, adornerLayerRect.Top))
Microsoft\Windows\Controls\Ribbon\Primitives\RibbonGalleryCategoriesPanel.cs (2)
176
bool fAbove = DoubleUtil.
LessThan
(topChild, topView) && DoubleUtil.
LessThan
(bottomChild, bottomView);
Microsoft\Windows\Controls\Ribbon\Primitives\RibbonGroupsPanel.cs (3)
159
if ((DoubleUtil.GreaterThanOrClose(_cachedRemainingSpace, 0) && (DoubleUtil.
LessThan
(remainingSpace, 0) || DoubleUtil.GreaterThan(remainingSpace, _cachedRemainingSpace))) ||
160
(DoubleUtil.
LessThan
(_cachedRemainingSpace, 0) && DoubleUtil.GreaterThan(remainingSpace, 0)))
201
while (DoubleUtil.
LessThan
(remainingSpace, 0))
Microsoft\Windows\Controls\Ribbon\Primitives\RibbonTabHeadersPanel.cs (3)
829
if (DoubleUtil.
LessThan
(offset, 0))
954
bool fAbove = DoubleUtil.
LessThan
(topChild, topView) && DoubleUtil.
LessThan
(bottomChild, bottomView);
Microsoft\Windows\Controls\Ribbon\Primitives\RibbonTabsPanel.cs (2)
191
bool fAbove = DoubleUtil.
LessThan
(topChild, topView) && DoubleUtil.
LessThan
(bottomChild, bottomView);
Microsoft\Windows\Controls\Ribbon\Primitives\RibbonTitlePanel.cs (1)
107
if ((DoubleUtil.
LessThan
(rightSpace, titleHost.MinWidth) ||
Microsoft\Windows\Controls\Ribbon\Primitives\StarLayoutInfo.cs (2)
130
if (DoubleUtil.
LessThan
(maxWidth, minWidth))
148
if (DoubleUtil.
LessThan
(allocatedWidth, layoutInfo.RequestedStarMinWidth))
Microsoft\Windows\Controls\Ribbon\Ribbon.cs (2)
1442
(DoubleUtil.
LessThan
(window.ActualWidth, CollapseWidth) ||
1443
DoubleUtil.
LessThan
(window.ActualHeight, CollapseHeight)))
Microsoft\Windows\Controls\Ribbon\RibbonControlSizeDefinition.cs (2)
118
if (length.IsAuto || length.IsStar || double.IsInfinity(length.Value) || DoubleUtil.
LessThan
(length.Value, 0))
128
if (length.IsAuto || length.IsStar || DoubleUtil.
LessThan
(length.Value, 0))
Microsoft\Windows\Controls\Ribbon\RibbonGallery.cs (1)
2736
(FlowDirection == FlowDirection.RightToLeft && DoubleUtil.
LessThan
(predictedFocusedOrigin.X, focusedOrigin.X)))
Microsoft\Windows\Controls\Ribbon\RibbonTabHeader.cs (2)
655
if (DoubleUtil.
LessThan
(tabHeaderCenterX, 0) ||
667
if (DoubleUtil.
LessThan
(horizontalOffset, 0) ||