110 references to Measure
PresentationCore (9)
Core\CSharp\System\Windows\Interop\HwndSource.cs (4)
1271rootUIElement.Measure(sz); 1303rootUIElement.Measure(sz); 1709rootUIElement.Measure(sz); 1753rootUIElement.Measure(sizeLogicalUnits);
Core\CSharp\System\Windows\LayoutManager.cs (1)
319currentElement.Measure(currentElement.PreviousConstraint);
Core\CSharp\System\Windows\Media\BitmapCacheBrush.cs (1)
282element.Measure(new Size(Double.PositiveInfinity, Double.PositiveInfinity));
Core\CSharp\System\Windows\Media\VisualBrush.cs (1)
250element.Measure(new Size(Double.PositiveInfinity, Double.PositiveInfinity));
Core\CSharp\System\Windows\UIElement.cs (2)
859Measure(finalRect.Size); 862Measure(PreviousConstraint);
PresentationFramework (72)
src\Framework\MS\Internal\Annotations\Component\AnnotationAdorner.cs (1)
145((UIElement)_annotationComponent).Measure(childConstraint);
src\Framework\MS\Internal\Controls\InkCanvasInnerCanvas.cs (1)
96child.Measure(childConstraint);
src\Framework\MS\Internal\Controls\TemplatedAdorner.cs (1)
155(_child).Measure(new Size(Double.PositiveInfinity, Double.PositiveInfinity));
src\Framework\MS\Internal\Documents\DocumentGrid.cs (3)
1089background.Measure(constraint); 1111page.Measure(pageSize); 1128page.Measure(newPageSize);
src\Framework\MS\Internal\Documents\DocumentGridPage.cs (3)
269_dropShadowRight.Measure(availableSize); 270_dropShadowBottom.Measure(availableSize); 271_pageBorder.Measure(availableSize);
src\Framework\MS\Internal\Documents\UIElementIsland.cs (1)
89_child.Measure(availableSize);
src\Framework\MS\Internal\Helper.cs (1)
547child.Measure(constraint);
src\Framework\System\Windows\Annotations\AnnotationDocumentPaginator.cs (2)
319decorator.Measure(new Size(Double.PositiveInfinity, Double.PositiveInfinity)); 360decorator.Measure(new Size(Double.PositiveInfinity, Double.PositiveInfinity));
src\Framework\System\Windows\Controls\AccessText.cs (1)
427TextBlock.Measure(constraint);
src\Framework\System\Windows\Controls\AdornedElementPlaceholder.cs (1)
206child.Measure(desiredSize);
src\Framework\System\Windows\Controls\Border.cs (1)
245child.Measure(childConstraint);
src\Framework\System\Windows\Controls\Canvas.cs (1)
279child.Measure(childConstraint);
src\Framework\System\Windows\Controls\Control.cs (1)
711child.Measure(constraint);
src\Framework\System\Windows\Controls\DataGridCellsPanel.cs (4)
123child.Measure(childMeasureConstraint); 133child.Measure(childMeasureConstraint); 155child.Measure(childMeasureConstraint); 646child.Measure(new Size());
src\Framework\System\Windows\Controls\DataGridHelper.cs (1)
266element.Measure(new Size(constraintWidth, double.PositiveInfinity));
src\Framework\System\Windows\Controls\Decorator.cs (1)
203child.Measure(constraint);
src\Framework\System\Windows\Controls\DockPanel.cs (1)
236child.Measure(childConstraint);
src\Framework\System\Windows\Controls\Grid.cs (2)
441child.Measure(constraint); 1431child.Measure(childConstraint);
src\Framework\System\Windows\Controls\GridViewHeaderRowPresenter.cs (6)
277child.Measure(new Size(childConstraintWidth, constraintHeight)); 288child.Measure(new Size(childConstraintWidth, constraintHeight)); 296child.Measure(new Size(childConstraintWidth, constraintHeight)); 307_paddingHeader.Measure(new Size(0.0, constraintHeight)); 320_indicator.Measure(constraint); 323_floatingHeader.Measure(constraint);
src\Framework\System\Windows\Controls\GridViewRowPresenter.cs (3)
163child.Measure(new Size(childConstraintWidth, constraintHeight)); 181child.Measure(new Size(childConstraintWidth, constraintHeight)); 189child.Measure(new Size(childConstraintWidth, constraintHeight));
src\Framework\System\Windows\Controls\InkCanvas.cs (1)
240_localAdornerDecorator.Measure(availableSize);
src\Framework\System\Windows\Controls\Page.cs (1)
609child.Measure(constraint);
src\Framework\System\Windows\Controls\Primitives\BulletDecorator.cs (2)
250bullet.Measure(constraint); 260content.Measure(contentConstraint);
src\Framework\System\Windows\Controls\Primitives\DataGridColumnHeadersPresenter.cs (2)
120_columnHeaderDragIndicator.Measure(childConstraint); 128_columnHeaderDropLocationIndicator.Measure(availableSize);
src\Framework\System\Windows\Controls\Primitives\PopupRoot.cs (3)
151_transformDecorator.Measure(desiredSize); 197_transformDecorator.Measure(restricted1DDesiredSize); 233_transformDecorator.Measure(restrictedSize);
src\Framework\System\Windows\Controls\Primitives\ScrollContentPresenter.cs (1)
428_adornerLayer.Measure(constraint);
src\Framework\System\Windows\Controls\Primitives\TabPanel.cs (2)
113child.Measure(constraint); 157child.Measure(constraint);
src\Framework\System\Windows\Controls\Primitives\ToolBarOverflowPanel.cs (1)
113child.Measure(constraint);
src\Framework\System\Windows\Controls\Primitives\ToolBarPanel.cs (2)
94child.Measure(constraint); 172child.Measure(constraint);
src\Framework\System\Windows\Controls\Primitives\Track.cs (1)
437Thumb.Measure(availableSize);
src\Framework\System\Windows\Controls\Primitives\UniformGrid.cs (1)
192child.Measure(childConstraint);
src\Framework\System\Windows\Controls\ScrollViewer.cs (3)
1220child.Measure(constraint); 1264child.Measure(constraint); 1308child.Measure(constraint);
src\Framework\System\Windows\Controls\Stack.cs (1)
603child.Measure(layoutSlotSize);
src\Framework\System\Windows\Controls\TextBlock.cs (1)
2069inlineObject.Element.Measure(contentSize);
src\Framework\System\Windows\Controls\ToolBarTray.cs (1)
398toolBar.Measure(childConstraint);
src\Framework\System\Windows\Controls\ViewBox.cs (1)
328child.Measure(infinteConstraint);
src\Framework\System\Windows\Controls\VirtualizingStackPanel.cs (1)
8114child.Measure(childConstraint);
src\Framework\System\Windows\Controls\WrapPanel.cs (1)
245child.Measure(childConstraint);
src\Framework\System\Windows\Documents\Adorner.cs (1)
89ch.Measure(desiredSize);
src\Framework\System\Windows\Documents\AdornerDecorator.cs (1)
135_adornerLayer.Measure(constraint);
src\Framework\System\Windows\Documents\AdornerLayer.cs (1)
443adornerInfo.Adorner.Measure(constraint);
src\Framework\System\Windows\Documents\DocumentSequence.cs (1)
1173e.Measure(base.Size);
src\Framework\System\Windows\Documents\FixedDocument.cs (2)
369page.Measure(fixedSize); 1465e.Measure(base.Size);
src\Framework\System\Windows\Documents\FixedPage.cs (1)
782child.Measure(childConstraint);
src\Framework\System\Windows\Documents\FixedTextBuilder.cs (1)
217page.Measure(pageSize);
src\Framework\System\Windows\Input\KeyboardNavigation.cs (1)
604((UIElement)GetVisualChild(0)).Measure(constraint);
src\Framework\System\Windows\Window.cs (1)
3497child.Measure(childConstraint);
PresentationFramework.Aero (3)
Microsoft\Windows\Themes\ButtonChrome.cs (1)
425child.Measure(childConstraint);
Microsoft\Windows\Themes\ListBoxChrome.cs (1)
246child.Measure(childConstraint);
parent\Shared\Microsoft\Windows\Themes\DataGridHeaderBorder.cs (1)
203child.Measure(new Size(childWidth, childHeight));
PresentationFramework.Classic (2)
Microsoft\Windows\Themes\ClassicBorderDecorator.cs (1)
682child.Measure(childConstraint);
parent\Shared\Microsoft\Windows\Themes\DataGridHeaderBorder.cs (1)
203child.Measure(new Size(childWidth, childHeight));
PresentationFramework.Luna (2)
Microsoft\Windows\Themes\ButtonChrome.cs (1)
342child.Measure(childConstraint);
parent\Shared\Microsoft\Windows\Themes\DataGridHeaderBorder.cs (1)
203child.Measure(new Size(childWidth, childHeight));
PresentationFramework.Royale (2)
Microsoft\Windows\Themes\ButtonChrome.cs (1)
300child.Measure(childConstraint);
parent\Shared\Microsoft\Windows\Themes\DataGridHeaderBorder.cs (1)
203child.Measure(new Size(childWidth, childHeight));
System.Activities.Core.Presentation (8)
System\Activities\Core\Presentation\FlowchartDesigner.Helpers.cs (1)
286element.Measure(new Size(double.PositiveInfinity, double.PositiveInfinity));
System\Activities\Core\Presentation\FlowchartDesigner.ModelChangeReactions.cs (1)
56this.StartSymbol.Measure(new Size(Double.PositiveInfinity, Double.PositiveInfinity));
System\Activities\Core\Presentation\FlowchartDesigner.xaml.cs (2)
1119element.Measure(new Size(double.PositiveInfinity, double.PositiveInfinity)); 2594stackPanel.Measure(new Size(double.PositiveInfinity, double.PositiveInfinity));
System\Activities\Core\Presentation\FlowchartExpressionAdorner.cs (1)
53tooltip.Measure(new Size(Double.PositiveInfinity, Double.PositiveInfinity));
System\Activities\Core\Presentation\StateContainerEditor.Utilities.cs (1)
127element.Measure(new Size(double.PositiveInfinity, double.PositiveInfinity));
System\Activities\Core\Presentation\StateContainerEditor.xaml.cs (2)
481this.initialNode.Measure(new Size(Double.PositiveInfinity, Double.PositiveInfinity)); 1065view.Measure(new Size(double.PositiveInfinity, double.PositiveInfinity));
System.Activities.Presentation (12)
System.Activities.Presentation\System\Activities\Presentation\Annotations\AnnotationAdorner.cs (1)
126this.content.Measure(constraint);
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\PropertyPanel.cs (2)
191InternalChildren[i].Measure(new Size(lastChildWidth, availableSize.Height)); 195InternalChildren[i].Measure(new Size(availableWidth, availableSize.Height));
System.Activities.Presentation\System\Activities\Presentation\DockedAnnotationDecorator.cs (1)
20this.Child.Measure(availableSize);
System.Activities.Presentation\System\Activities\Presentation\DragDropHelper.cs (2)
864grid.Measure(new Size(double.PositiveInfinity, double.PositiveInfinity)); 924this.content.Measure(constraint);
System.Activities.Presentation\System\Activities\Presentation\FreeFormEditing\FreeFormPanel.cs (2)
422connectorChild.Measure(new Size(Double.PositiveInfinity, Double.PositiveInfinity)); 431child.Measure(new Size(Double.PositiveInfinity, Double.PositiveInfinity));
System.Activities.Presentation\System\Activities\Presentation\View\ExtensionSurface.cs (2)
186window.Measure(new Size(double.PositiveInfinity, double.PositiveInfinity)); 409child.Measure(constraint);
System.Activities.Presentation\System\Activities\Presentation\View\SearchToolTipAdorner.cs (1)
45tooltip.Measure(new Size(Double.PositiveInfinity, Double.PositiveInfinity));
System.Activities.Presentation\System\Activities\Presentation\View\ViewUtilities.cs (1)
188view.Measure(new Size(double.PositiveInfinity, double.PositiveInfinity));