222 references to PositiveInfinity
mscorlib (4)
system\double.cs (2)
67
if (d == double.
PositiveInfinity
)
283
result =
PositiveInfinity
;
system\number.cs (1)
679
return Double.
PositiveInfinity
;
system\runtime\remoting\message.cs (1)
668
ret = Double.
PositiveInfinity
;
PresentationCore (32)
Core\CSharp\System\Windows\Interop\HwndSource.cs (6)
1262
Size sz = new Size(double.
PositiveInfinity
, double.
PositiveInfinity
);
1293
(_sizeToContent == SizeToContent.Width ? double.
PositiveInfinity
: sizeFromHwndLogicalUnits.Width),
1294
(_sizeToContent == SizeToContent.Height ? double.
PositiveInfinity
: sizeFromHwndLogicalUnits.Height));
1683
(_sizeToContent == SizeToContent.Width ? double.
PositiveInfinity
: relevantPt.X),
1684
(_sizeToContent == SizeToContent.Height ? double.
PositiveInfinity
: relevantPt.Y));
Core\CSharp\System\Windows\Media\BitmapCacheBrush.cs (2)
282
element.Measure(new Size(Double.
PositiveInfinity
, Double.
PositiveInfinity
));
Core\CSharp\System\Windows\Media\BoundsDrawingContextWalker.cs (2)
609
bounds.Width = Double.
PositiveInfinity
;
610
bounds.Height = Double.
PositiveInfinity
;
Core\CSharp\System\Windows\Media\GlyphRun.cs (4)
1315
double accLeft = double.
PositiveInfinity
;
1316
double accTop = double.
PositiveInfinity
;
1481
double accLeft = double.
PositiveInfinity
;
1482
double accTop = double.
PositiveInfinity
;
Core\CSharp\System\Windows\Media\Visual.cs (8)
430
bboxSubgraph.Width = Double.
PositiveInfinity
;
431
bboxSubgraph.Height = Double.
PositiveInfinity
;
625
bboxSubgraph.Width = Double.
PositiveInfinity
;
626
bboxSubgraph.Height = Double.
PositiveInfinity
;
1083
_bboxSubgraph.Width = Double.
PositiveInfinity
;
1084
_bboxSubgraph.Height = Double.
PositiveInfinity
;
1158
bboxSubgraph.Width = Double.
PositiveInfinity
;
1159
bboxSubgraph.Height = Double.
PositiveInfinity
;
Core\CSharp\System\Windows\Media\VisualBrush.cs (2)
250
element.Measure(new Size(Double.
PositiveInfinity
, Double.
PositiveInfinity
));
Core\CSharp\System\Windows\Media3D\Generated\PointLightBase.cs (2)
292
internal const double c_Range = Double.
PositiveInfinity
;
333
Double.
PositiveInfinity
,
Core\CSharp\System\Windows\Media3D\Generated\ProjectionCamera.cs (2)
292
internal const double c_FarPlaneDistance = (double)Double.
PositiveInfinity
;
333
(double)Double.
PositiveInfinity
,
Core\CSharp\System\Windows\Media3D\PerspectiveCamera.cs (1)
89
double m22 = zf != Double.
PositiveInfinity
? zf/(zn-zf) : -1;
Core\CSharp\System\Windows\Media3D\Rect3D.cs (3)
623
empty._x = Double.
PositiveInfinity
;
624
empty._y = Double.
PositiveInfinity
;
625
empty._z = Double.
PositiveInfinity
;
PresentationFramework (104)
src\Framework\MS\Internal\Annotations\Component\AnnotationAdorner.cs (2)
141
Size childConstraint = new Size(Double.
PositiveInfinity
, Double.
PositiveInfinity
);
src\Framework\MS\Internal\AppModel\RootBrowserWindow.cs (1)
338
return new WindowMinMax(0, double.
PositiveInfinity
);
src\Framework\MS\Internal\Controls\InkCanvasInnerCanvas.cs (2)
90
Size childConstraint = new Size(Double.
PositiveInfinity
, Double.
PositiveInfinity
);
src\Framework\MS\Internal\Controls\TemplatedAdorner.cs (2)
155
(_child).Measure(new Size(Double.
PositiveInfinity
, Double.
PositiveInfinity
));
src\Framework\MS\Internal\Documents\FlowDocumentFormatter.cs (1)
201
Size pageSize = new Size(_document.PageWidth, double.
PositiveInfinity
);
src\Framework\MS\Internal\PtsHost\Line.cs (1)
371
pageHeight = Double.
PositiveInfinity
;
src\Framework\MS\Internal\PtsHost\OptimalTextSource.cs (1)
247
pageHeight = Double.
PositiveInfinity
;
src\Framework\MS\Internal\PtsHost\UIElementParagraph.cs (1)
431
elementHeight = Double.
PositiveInfinity
;
src\Framework\System\Windows\Annotations\AnnotationDocumentPaginator.cs (4)
319
decorator.Measure(new Size(Double.
PositiveInfinity
, Double.
PositiveInfinity
));
360
decorator.Measure(new Size(Double.
PositiveInfinity
, Double.
PositiveInfinity
));
src\Framework\System\Windows\Controls\Canvas.cs (2)
274
Size childConstraint = new Size(Double.
PositiveInfinity
, Double.
PositiveInfinity
);
src\Framework\System\Windows\Controls\DataGrid.cs (3)
196
new FrameworkPropertyMetadata(double.
PositiveInfinity
, new PropertyChangedCallback(OnColumnSizeConstraintChanged)),
6473
double closestDistance = Double.
PositiveInfinity
;
6606
distance = Double.
PositiveInfinity
;
src\Framework\System\Windows\Controls\DataGridCellsPanel.cs (1)
108
Size childMeasureConstraint = new Size(double.
PositiveInfinity
, constraint.Height);
src\Framework\System\Windows\Controls\DataGridColumn.cs (2)
344
new FrameworkPropertyMetadata(double.
PositiveInfinity
, new PropertyChangedCallback(OnMaxWidthPropertyChanged), new CoerceValueCallback(OnCoerceMaxWidth)),
536
return Double.
PositiveInfinity
;
src\Framework\System\Windows\Controls\DataGridColumnCollection.cs (6)
1571
double minPerStarExcessRatio = Double.
PositiveInfinity
;
1608
minPerStarExcessRatio = Double.
PositiveInfinity
;
1826
double minPerStarLagRatio = Double.
PositiveInfinity
;
1858
minPerStarLagRatio = Double.
PositiveInfinity
;
2060
double minLagWidth = Double.
PositiveInfinity
;
2323
double minExcessWidth = Double.
PositiveInfinity
;
src\Framework\System\Windows\Controls\DataGridHelper.cs (1)
266
element.Measure(new Size(constraintWidth, double.
PositiveInfinity
));
src\Framework\System\Windows\Controls\FlowDocumentScrollViewer.cs (1)
597
Document.ColumnWidth = double.
PositiveInfinity
;
src\Framework\System\Windows\Controls\Grid.cs (8)
1173
userSize = double.
PositiveInfinity
;
1179
userSize = double.
PositiveInfinity
;
1184
userSize = double.
PositiveInfinity
;
1395
cellMeasureWidth = double.
PositiveInfinity
;
1408
cellMeasureHeight = double.
PositiveInfinity
;
1416
cellMeasureHeight = double.
PositiveInfinity
;
1939
double minRatio = (minCount > 0) ? tempDefinitions[minCount - 1].MeasureSize : Double.
PositiveInfinity
;
2552
double minRatio = (minCount > 0) ? definitions[definitionIndices[minCount - 1]].MeasureSize : Double.
PositiveInfinity
;
src\Framework\System\Windows\Controls\ItemsControl.cs (2)
3028
Double.
PositiveInfinity
, viewPortBounds.Height);
3033
viewPortBounds.Width, Double.
PositiveInfinity
);
src\Framework\System\Windows\Controls\Primitives\DataGridColumnHeadersPresenter.cs (1)
113
childConstraint.Width = Double.
PositiveInfinity
;
src\Framework\System\Windows\Controls\Primitives\Popup.cs (2)
2242
limitSize = new Size(Double.
PositiveInfinity
, Double.
PositiveInfinity
);
src\Framework\System\Windows\Controls\Primitives\PopupRoot.cs (4)
146
Size desiredSize = new Size(Double.
PositiveInfinity
, Double.
PositiveInfinity
);
194
Size restricted1DDesiredSize = new Size(restrictWidth ? restrictedSize.Width : Double.
PositiveInfinity
,
195
restrictHeight ? restrictedSize.Height : Double.
PositiveInfinity
);
src\Framework\System\Windows\Controls\Primitives\ScrollContentPresenter.cs (2)
438
if (_scrollData._canHorizontallyScroll) { childConstraint.Width = Double.
PositiveInfinity
; }
439
if (_scrollData._canVerticallyScroll) { childConstraint.Height = Double.
PositiveInfinity
; }
src\Framework\System\Windows\Controls\Primitives\ToolBarPanel.cs (2)
251
layoutSlotSize.Width = Double.
PositiveInfinity
;
256
layoutSlotSize.Height = Double.
PositiveInfinity
;
src\Framework\System\Windows\Controls\RichTextBox.cs (1)
317
if (constraint.Width == Double.
PositiveInfinity
)
src\Framework\System\Windows\Controls\ScrollViewer.cs (3)
125
public void ScrollToRightEnd() { EnqueueCommand(Commands.SetHorizontalOffset, Double.
PositiveInfinity
, null); }
141
EnqueueCommand(Commands.SetVerticalOffset, Double.
PositiveInfinity
, null);
151
public void ScrollToBottom() { EnqueueCommand(Commands.SetVerticalOffset, Double.
PositiveInfinity
, null); }
src\Framework\System\Windows\Controls\Stack.cs (4)
578
layoutSlotSize.Width = Double.
PositiveInfinity
;
579
if (measureElement.IsScrolling && measureElement.CanVerticallyScroll) { layoutSlotSize.Height = Double.
PositiveInfinity
; }
585
layoutSlotSize.Height = Double.
PositiveInfinity
;
586
if (measureElement.IsScrolling && measureElement.CanHorizontallyScroll) { layoutSlotSize.Width = Double.
PositiveInfinity
; }
src\Framework\System\Windows\Controls\ToolBarTray.cs (2)
368
Size childConstraint = new Size(Double.
PositiveInfinity
, Double.
PositiveInfinity
);
src\Framework\System\Windows\Controls\ViewBox.cs (2)
326
Size infinteConstraint = new Size(Double.
PositiveInfinity
, Double.
PositiveInfinity
);
src\Framework\System\Windows\Controls\VirtualizingStackPanel.cs (20)
2309
childConstraint.Width = Double.
PositiveInfinity
;
2310
if (IsScrolling && CanVerticallyScroll) { childConstraint.Height = Double.
PositiveInfinity
; }
2314
childConstraint.Height = Double.
PositiveInfinity
;
2315
if (IsScrolling && CanHorizontallyScroll) { childConstraint.Width = Double.
PositiveInfinity
; }
4401
Double.
PositiveInfinity
,
4404
Double.
PositiveInfinity
);
4507
viewport.Width = Double.
PositiveInfinity
;
4511
viewport.Height = Double.
PositiveInfinity
;
9859
viewportOffset.X = Double.
PositiveInfinity
;
9882
viewportOffset.X = Double.
PositiveInfinity
;
9914
viewportOffset.X = Double.
PositiveInfinity
;
9982
viewportOffset.Y = Double.
PositiveInfinity
;
10076
viewportOffset.Y = Double.
PositiveInfinity
;
10099
viewportOffset.Y = Double.
PositiveInfinity
;
10131
viewportOffset.Y = Double.
PositiveInfinity
;
10198
viewportOffset.X = Double.
PositiveInfinity
;
10532
viewportOffset.X = Double.
PositiveInfinity
;
10567
viewportOffset.X = Double.
PositiveInfinity
;
10663
viewportOffset.Y = Double.
PositiveInfinity
;
10698
viewportOffset.Y = Double.
PositiveInfinity
;
src\Framework\System\Windows\Documents\FixedPage.cs (2)
778
Size childConstraint = new Size(Double.
PositiveInfinity
, Double.
PositiveInfinity
);
src\Framework\System\Windows\Documents\FlowDocument.cs (2)
601
double.
PositiveInfinity
,
678
double.
PositiveInfinity
,
src\Framework\System\Windows\FrameworkElement.cs (8)
3544
Double.
PositiveInfinity
,
3623
Double.
PositiveInfinity
,
4064
double height = (DoubleUtil.IsNaN(l) ? Double.
PositiveInfinity
: l);
4074
double width = (DoubleUtil.IsNaN(l) ? Double.
PositiveInfinity
: l);
4145
return new Size(Double.
PositiveInfinity
, Double.
PositiveInfinity
);
4180
Double yCoverD = (yConstrInfinite ? Double.
PositiveInfinity
: Math.Abs(yConstr/d));
4181
Double xCoverA = (xConstrInfinite ? Double.
PositiveInfinity
: Math.Abs(xConstr/a));
src\Framework\System\Windows\Window.cs (8)
3494
childConstraint.Width = ((constraint.Width == Double.
PositiveInfinity
) ? Double.
PositiveInfinity
: Math.Max(0.0, (constraint.Width - frameSize.Width)));
3495
childConstraint.Height = ((constraint.Height == Double.
PositiveInfinity
) ? Double.
PositiveInfinity
: Math.Max(0.0, (constraint.Height - frameSize.Height)));
7649
private double _trackMaxWidthDeviceUnits = Double.
PositiveInfinity
;
7650
private double _trackMaxHeightDeviceUnits = Double.
PositiveInfinity
;
7651
private double _windowMaxWidthDeviceUnits = Double.
PositiveInfinity
;
7652
private double _windowMaxHeightDeviceUnits = Double.
PositiveInfinity
;
System.Activities.Core.Presentation (25)
System\Activities\Core\Presentation\FlowchartDesigner.Container.cs (2)
428
Point topLeft = new Point(Double.
PositiveInfinity
, Double.
PositiveInfinity
);
System\Activities\Core\Presentation\FlowchartDesigner.Helpers.cs (3)
61
double minDist = double.
PositiveInfinity
;
286
element.Measure(new Size(double.
PositiveInfinity
, double.
PositiveInfinity
));
System\Activities\Core\Presentation\FlowchartDesigner.ModelChangeReactions.cs (2)
56
this.StartSymbol.Measure(new Size(Double.
PositiveInfinity
, Double.
PositiveInfinity
));
System\Activities\Core\Presentation\FlowchartDesigner.xaml.cs (6)
1119
element.Measure(new Size(double.
PositiveInfinity
, double.
PositiveInfinity
));
2584
this.panel.Measure(new Size(double.
PositiveInfinity
, double.
PositiveInfinity
));
2594
stackPanel.Measure(new Size(double.
PositiveInfinity
, double.
PositiveInfinity
));
System\Activities\Core\Presentation\FlowchartExpressionAdorner.cs (2)
53
tooltip.Measure(new Size(Double.
PositiveInfinity
, Double.
PositiveInfinity
));
System\Activities\Core\Presentation\StateContainerEditor.CompositeView.cs (2)
444
Point topLeft = new Point(Double.
PositiveInfinity
, Double.
PositiveInfinity
);
System\Activities\Core\Presentation\StateContainerEditor.Utilities.cs (4)
127
element.Measure(new Size(double.
PositiveInfinity
, double.
PositiveInfinity
));
311
minDist = double.
PositiveInfinity
;
347
double minDist = double.
PositiveInfinity
;
System\Activities\Core\Presentation\StateContainerEditor.xaml.cs (4)
481
this.initialNode.Measure(new Size(Double.
PositiveInfinity
, Double.
PositiveInfinity
));
1065
view.Measure(new Size(double.
PositiveInfinity
, double.
PositiveInfinity
));
System.Activities.Presentation (16)
System.Activities.Presentation\System\Activities\Presentation\DragDropHelper.cs (4)
733
Point topLeftPoint = new Point(double.
PositiveInfinity
, double.
PositiveInfinity
);
864
grid.Measure(new Size(double.
PositiveInfinity
, double.
PositiveInfinity
));
System.Activities.Presentation\System\Activities\Presentation\FreeFormEditing\ConnectionPoint.cs (1)
147
minDist = double.
PositiveInfinity
;
System.Activities.Presentation\System\Activities\Presentation\FreeFormEditing\FreeFormPanel.cs (4)
422
connectorChild.Measure(new Size(Double.
PositiveInfinity
, Double.
PositiveInfinity
));
431
child.Measure(new Size(Double.
PositiveInfinity
, Double.
PositiveInfinity
));
System.Activities.Presentation\System\Activities\Presentation\View\ExtensionSurface.cs (2)
186
window.Measure(new Size(double.
PositiveInfinity
, double.
PositiveInfinity
));
System.Activities.Presentation\System\Activities\Presentation\View\SearchToolTipAdorner.cs (2)
45
tooltip.Measure(new Size(Double.
PositiveInfinity
, Double.
PositiveInfinity
));
System.Activities.Presentation\System\Activities\Presentation\View\ViewUtilities.cs (2)
188
view.Measure(new Size(double.
PositiveInfinity
, double.
PositiveInfinity
));
System.Activities.Presentation\System\Activities\Presentation\WorkflowElementDialogWindow.xaml.cs (1)
67
this.payload.MaxWidth = this.payload.MaxWidth = double.
PositiveInfinity
;
System.Data (16)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\DragDropHelper.cs (4)
733
Point topLeftPoint = new Point(double.
PositiveInfinity
, double.
PositiveInfinity
);
864
grid.Measure(new Size(double.
PositiveInfinity
, double.
PositiveInfinity
));
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\FreeFormEditing\ConnectionPoint.cs (1)
147
minDist = double.
PositiveInfinity
;
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\FreeFormEditing\FreeFormPanel.cs (4)
422
connectorChild.Measure(new Size(Double.
PositiveInfinity
, Double.
PositiveInfinity
));
431
child.Measure(new Size(Double.
PositiveInfinity
, Double.
PositiveInfinity
));
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\ExtensionSurface.cs (2)
186
window.Measure(new Size(double.
PositiveInfinity
, double.
PositiveInfinity
));
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\SearchToolTipAdorner.cs (2)
45
tooltip.Measure(new Size(Double.
PositiveInfinity
, Double.
PositiveInfinity
));
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\ViewUtilities.cs (2)
188
view.Measure(new Size(double.
PositiveInfinity
, double.
PositiveInfinity
));
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\WorkflowElementDialogWindow.xaml.cs (1)
67
this.payload.MaxWidth = this.payload.MaxWidth = double.
PositiveInfinity
;
System.Data.SqlXml (7)
System\Xml\Xsl\Runtime\XmlSortKey.cs (3)
281
this.dblVal = (collation.EmptyGreatest != collation.DescendingOrder) ? Double.
PositiveInfinity
: Double.NegativeInfinity;
306
Debug.Assert(this.dblVal == Double.NegativeInfinity || this.dblVal == Double.
PositiveInfinity
);
311
Debug.Assert(that.dblVal == Double.NegativeInfinity || that.dblVal == Double.
PositiveInfinity
);
System\Xml\Xsl\Runtime\XslNumber.cs (2)
167
if (!(0.5 <= dblVal && dblVal < double.
PositiveInfinity
)) {
235
Debug.Assert(1 <= dblVal && dblVal < double.
PositiveInfinity
);
System\Xml\Xsl\XPathConvert.cs (2)
521
return Double.
PositiveInfinity
;
2239
dbl = Double.
PositiveInfinity
;
System.Numerics (2)
System\Numerics\BigInteger.cs (1)
903
if (baseValue == Double.
PositiveInfinity
)
System\Numerics\Complex.cs (1)
153
return double.
PositiveInfinity
;
System.Web.DataVisualization (3)
Common\Formulas\StatisticalAnalysis.cs (3)
2011
if (x == double.
PositiveInfinity
)
2032
return double.
PositiveInfinity
;
2136
return double.
PositiveInfinity
;
System.Windows.Forms.DataVisualization (3)
Common\Formulas\StatisticalAnalysis.cs (3)
2011
if (x == double.
PositiveInfinity
)
2032
return double.
PositiveInfinity
;
2136
return double.
PositiveInfinity
;
System.Xml (2)
System\Xml\XmlConvert.cs (2)
1074
if(s == "INF") return Double.
PositiveInfinity
;
1090
result = Double.
PositiveInfinity
;
WindowsBase (8)
Base\System\Windows\Rect.cs (8)
537
if ((rect.Width == Double.
PositiveInfinity
) || (Width == Double.
PositiveInfinity
))
539
_width = Double.
PositiveInfinity
;
549
if ((rect.Height == Double.
PositiveInfinity
) || (Height == Double.
PositiveInfinity
))
551
_height = Double.
PositiveInfinity
;
795
rect._x = Double.
PositiveInfinity
;
796
rect._y = Double.
PositiveInfinity
;