136 references to Measure
IdeBenchmarks (1)
InheritanceMargin\InheritanceMarginGlyphBenchmarks.cs (1)
120
_canvas.
Measure
(new Size(WidthAndHeightOfGlyph, HeightOfCanvas));
Microsoft.CodeAnalysis.EditorFeatures.Wpf (2)
InlineDiagnostics\InlineDiagnosticsTag.cs (1)
113
border.
Measure
(new Size(double.PositiveInfinity, double.PositiveInfinity));
InlineHints\InlineHintsTag.cs (1)
156
block.
Measure
(new Size(double.PositiveInfinity, double.PositiveInfinity));
Microsoft.VisualStudio.LanguageServices (5)
PreviewPane\PreviewPane.xaml.cs (5)
75
TitleTextBlock.
Measure
(availableSize: s_infiniteSize);
287
HeaderStackPanel.
Measure
(availableSize: s_infiniteSize);
290
TitleTextBlock.
Measure
(availableSize: s_infiniteSize);
295
PreviewDockPanel.
Measure
(availableSize: new Size(
301
TitleTextBlock.
Measure
(availableSize: new Size(headerStackPanelWidth, double.PositiveInfinity));
PresentationCore (9)
System\Windows\InterOp\HwndSource.cs (4)
1052
rootUIElement.
Measure
(sz);
1084
rootUIElement.
Measure
(sz);
1461
rootUIElement.
Measure
(sz);
1499
rootUIElement.
Measure
(sizeLogicalUnits);
System\Windows\LayoutManager.cs (1)
300
currentElement.
Measure
(currentElement.PreviousConstraint);
System\Windows\Media\BitmapCacheBrush.cs (1)
271
element.
Measure
(new Size(Double.PositiveInfinity, Double.PositiveInfinity));
System\Windows\Media\VisualBrush.cs (1)
238
element.
Measure
(new Size(Double.PositiveInfinity, Double.PositiveInfinity));
System\Windows\UIElement.cs (2)
847
Measure
(finalRect.Size);
850
Measure
(PreviousConstraint);
PresentationFramework (70)
MS\Internal\Annotations\Component\AnnotationAdorner.cs (1)
136
((UIElement)_annotationComponent).
Measure
(childConstraint);
MS\Internal\Controls\InkCanvasInnerCanvas.cs (1)
85
child.
Measure
(childConstraint);
MS\Internal\Controls\TemplatedAdorner.cs (1)
145
(_child).
Measure
(new Size(Double.PositiveInfinity, Double.PositiveInfinity));
MS\Internal\Documents\DocumentGrid.cs (3)
1061
background.
Measure
(constraint);
1083
page.
Measure
(pageSize);
1100
page.
Measure
(newPageSize);
MS\Internal\Documents\DocumentGridPage.cs (1)
237
_documentContainer.
Measure
(availableSize);
MS\Internal\Documents\UIElementIsland.cs (1)
85
_child.
Measure
(availableSize);
MS\Internal\Helper.cs (1)
524
child.
Measure
(constraint);
System\Windows\Annotations\AnnotationDocumentPaginator.cs (2)
304
decorator.
Measure
(new Size(Double.PositiveInfinity, Double.PositiveInfinity));
345
decorator.
Measure
(new Size(Double.PositiveInfinity, Double.PositiveInfinity));
System\Windows\Controls\AccessText.cs (1)
425
TextBlock.
Measure
(constraint);
System\Windows\Controls\AdornedElementPlaceholder.cs (1)
193
child.
Measure
(desiredSize);
System\Windows\Controls\Border.cs (1)
234
child.
Measure
(childConstraint);
System\Windows\Controls\Canvas.cs (1)
264
child.
Measure
(childConstraint);
System\Windows\Controls\Control.cs (1)
701
child.
Measure
(constraint);
System\Windows\Controls\DataGridCellsPanel.cs (4)
117
child.
Measure
(childMeasureConstraint);
127
child.
Measure
(childMeasureConstraint);
149
child.
Measure
(childMeasureConstraint);
640
child.
Measure
(new Size());
System\Windows\Controls\DataGridHelper.cs (1)
259
element.
Measure
(new Size(constraintWidth, double.PositiveInfinity));
System\Windows\Controls\Decorator.cs (1)
193
child.
Measure
(constraint);
System\Windows\Controls\DockPanel.cs (1)
224
child.
Measure
(childConstraint);
System\Windows\Controls\Grid.cs (2)
370
child.
Measure
(constraint);
1358
child.
Measure
(childConstraint);
System\Windows\Controls\GridViewHeaderRowPresenter.cs (6)
272
child.
Measure
(new Size(childConstraintWidth, constraintHeight));
283
child.
Measure
(new Size(childConstraintWidth, constraintHeight));
291
child.
Measure
(new Size(childConstraintWidth, constraintHeight));
302
_paddingHeader.
Measure
(new Size(0.0, constraintHeight));
315
_indicator.
Measure
(constraint);
318
_floatingHeader.
Measure
(constraint);
System\Windows\Controls\GridViewRowPresenter.cs (3)
157
child.
Measure
(new Size(childConstraintWidth, constraintHeight));
175
child.
Measure
(new Size(childConstraintWidth, constraintHeight));
183
child.
Measure
(new Size(childConstraintWidth, constraintHeight));
System\Windows\Controls\InkCanvas.cs (1)
216
_localAdornerDecorator.
Measure
(availableSize);
System\Windows\Controls\Page.cs (1)
594
child.
Measure
(constraint);
System\Windows\Controls\Primitives\BulletDecorator.cs (2)
244
bullet.
Measure
(constraint);
254
content.
Measure
(contentConstraint);
System\Windows\Controls\Primitives\DataGridColumnHeadersPresenter.cs (2)
115
_columnHeaderDragIndicator.
Measure
(childConstraint);
123
_columnHeaderDropLocationIndicator.
Measure
(availableSize);
System\Windows\Controls\Primitives\PopupRoot.cs (3)
146
_transformDecorator.
Measure
(desiredSize);
192
_transformDecorator.
Measure
(restricted1DDesiredSize);
228
_transformDecorator.
Measure
(restrictedSize);
System\Windows\Controls\Primitives\ScrollContentPresenter.cs (1)
412
_adornerLayer.
Measure
(constraint);
System\Windows\Controls\Primitives\TabPanel.cs (2)
104
child.
Measure
(constraint);
148
child.
Measure
(constraint);
System\Windows\Controls\Primitives\ToolBarOverflowPanel.cs (1)
102
child.
Measure
(constraint);
System\Windows\Controls\Primitives\ToolBarPanel.cs (2)
84
child.
Measure
(constraint);
162
child.
Measure
(constraint);
System\Windows\Controls\Primitives\Track.cs (1)
424
Thumb.
Measure
(availableSize);
System\Windows\Controls\Primitives\UniformGrid.cs (1)
176
child.
Measure
(childConstraint);
System\Windows\Controls\ScrollViewer.cs (3)
1185
child.
Measure
(constraint);
1229
child.
Measure
(constraint);
1273
child.
Measure
(constraint);
System\Windows\Controls\Stack.cs (1)
591
child.
Measure
(layoutSlotSize);
System\Windows\Controls\TextBlock.cs (1)
1970
inlineObject.Element.
Measure
(contentSize);
System\Windows\Controls\ToolBarTray.cs (1)
380
toolBar.
Measure
(childConstraint);
System\Windows\Controls\ViewBox.cs (1)
314
child.
Measure
(infinteConstraint);
System\Windows\Controls\VirtualizingStackPanel.cs (1)
8267
child.
Measure
(childConstraint);
System\Windows\Controls\WrapPanel.cs (1)
233
child.
Measure
(childConstraint);
System\Windows\Documents\Adorner.cs (1)
79
ch.
Measure
(desiredSize);
System\Windows\Documents\AdornerDecorator.cs (1)
126
_adornerLayer.
Measure
(constraint);
System\Windows\Documents\AdornerLayer.cs (1)
426
adornerInfo.Adorner.
Measure
(constraint);
System\Windows\Documents\DocumentSequence.cs (1)
1140
e.
Measure
(base.Size);
System\Windows\Documents\FixedDocument.cs (2)
344
page.
Measure
(fixedSize);
1412
e.
Measure
(base.Size);
System\Windows\Documents\FixedPage.cs (1)
743
child.
Measure
(childConstraint);
System\Windows\Documents\FixedTextBuilder.cs (1)
195
page.
Measure
(pageSize);
System\Windows\Input\KeyboardNavigation.cs (1)
546
((UIElement)GetVisualChild(0)).
Measure
(constraint);
System\Windows\Window.cs (1)
3432
child.
Measure
(childConstraint);
PresentationFramework.Aero (3)
Microsoft\Windows\Themes\ButtonChrome.cs (1)
410
child.
Measure
(childConstraint);
Microsoft\Windows\Themes\ListBoxChrome.cs (1)
234
child.
Measure
(childConstraint);
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\DataGridHeaderBorder.cs (1)
201
child.
Measure
(new Size(childWidth, childHeight));
PresentationFramework.Aero2 (3)
Microsoft\Windows\Themes\ButtonChrome.cs (1)
410
child.
Measure
(childConstraint);
Microsoft\Windows\Themes\ListBoxChrome.cs (1)
234
child.
Measure
(childConstraint);
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\DataGridHeaderBorder.cs (1)
201
child.
Measure
(new Size(childWidth, childHeight));
PresentationFramework.AeroLite (1)
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\DataGridHeaderBorder.cs (1)
201
child.
Measure
(new Size(childWidth, childHeight));
PresentationFramework.Classic (2)
Microsoft\Windows\Themes\ClassicBorderDecorator.cs (1)
674
child.
Measure
(childConstraint);
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\DataGridHeaderBorder.cs (1)
201
child.
Measure
(new Size(childWidth, childHeight));
PresentationFramework.Luna (2)
Microsoft\Windows\Themes\ButtonChrome.cs (1)
331
child.
Measure
(childConstraint);
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\DataGridHeaderBorder.cs (1)
201
child.
Measure
(new Size(childWidth, childHeight));
PresentationFramework.Royale (2)
Microsoft\Windows\Themes\ButtonChrome.cs (1)
289
child.
Measure
(childConstraint);
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\DataGridHeaderBorder.cs (1)
201
child.
Measure
(new Size(childWidth, childHeight));
PresentationUI (1)
MS\Internal\Documents\DocumentApplicationDocumentViewer.cs (1)
2526
canvas.
Measure
(size);
ReachFramework (2)
AlphaFlattener\Utility.cs (1)
1579
uiElement.
Measure
(new Size(double.PositiveInfinity, double.PositiveInfinity));
Serialization\Manager\ReachSerializationUtils.cs (1)
1156
uiElement.
Measure
(newSize);
System.Windows.Controls.Ribbon (32)
Microsoft\Windows\Controls\KeyTipAdorner.cs (1)
72
_keyTipControl.
Measure
(childConstraint);
Microsoft\Windows\Controls\Ribbon\Primitives\RibbonContextualTabGroupsPanel.cs (2)
56
tabGroupHeader.
Measure
(new Size(double.PositiveInfinity, availableSize.Height));
79
tabGroupHeader.
Measure
(new Size(width , availableSize.Height));
Microsoft\Windows\Controls\Ribbon\Primitives\RibbonGalleryCategoriesPanel.cs (2)
385
child.
Measure
(childConstraint);
459
child.
Measure
(layoutSlotSize);
Microsoft\Windows\Controls\Ribbon\Primitives\RibbonGalleryItemsPanel.cs (1)
339
child.
Measure
(childConstraint);
Microsoft\Windows\Controls\Ribbon\Primitives\RibbonGroupItemsPanel.cs (3)
185
children[starChildIndex].
Measure
(new Size(starLayoutInfo.RequestedStarMinWidth, constraint.Height));
209
child.
Measure
(availableSize);
284
child.
Measure
(new Size(starLayoutInfo.AllocatedStarWidth, availableSize.Height));
Microsoft\Windows\Controls\Ribbon\Primitives\RibbonMenuItemsPanel.cs (1)
170
starLayoutTarget.
Measure
(new Size(maxChildWidth, availableHeight));
Microsoft\Windows\Controls\Ribbon\Primitives\RibbonQuickAccessToolBarOverflowPanel.cs (1)
29
child.
Measure
(infinity);
Microsoft\Windows\Controls\Ribbon\Primitives\RibbonQuickAccessToolBarPanel.cs (1)
203
generatedChild.
Measure
(infinity);
Microsoft\Windows\Controls\Ribbon\Primitives\RibbonTabHeadersPanel.cs (5)
132
ribbonTabHeader.
Measure
(new Size(Double.MaxValue, childConstraint.Height));
394
ribbonTabHeader.
Measure
(constraint);
411
child.
Measure
(constraint);
448
ribbonTabHeader.
Measure
(new Size(isContextualTab ? maxContextualTabHeaderWidth : maxRegularTabHeaderWidth, constraint.Height));
460
child.
Measure
(new Size(maxRegularTabHeaderWidth, constraint.Height));
Microsoft\Windows\Controls\Ribbon\Primitives\RibbonTabsPanel.cs (1)
40
children[i].
Measure
(availableSize);
Microsoft\Windows\Controls\Ribbon\Primitives\RibbonTitlePanel.cs (5)
70
groupHeaderItemsControl.
Measure
(availableSize);
86
groupHeaderItemsControl.
Measure
(new Size(Math.Max(endContextualTabX - startContextualTabX, 0), availableSize.Height));
126
qat.
Measure
(new Size(availableToQat, availableSize.Height));
140
titleHost.
Measure
(new Size(double.PositiveInfinity, double.PositiveInfinity));
156
titleHost.
Measure
(new Size(availableToTitle, availableSize.Height));
Microsoft\Windows\Controls\Ribbon\RibbonComboBox.cs (1)
1324
Popup.Child.
Measure
(new Size());
Microsoft\Windows\Controls\Ribbon\RibbonGroup.cs (4)
854
_itemsPresenter.
Measure
(new Size(double.PositiveInfinity, double.PositiveInfinity));
1130
Measure
(DesiredSize);
1143
Measure
(DesiredSize);
1269
_templateContentControl.
Measure
(_templateContentControl.DesiredSize);
Microsoft\Windows\Controls\Ribbon\RibbonTwoLineText.cs (4)
347
_textBlock1.
Measure
(availableSize);
386
_textBlock1.
Measure
(infinity);
396
_textBlock1.
Measure
(infinity);
424
_textBlock1.
Measure
(infinity);
WindowsFormsIntegration (1)
System\Windows\Integration\ElementHost.cs (1)
113
_decorator.
Measure
(constraints);