293 references to Empty
PresentationCore (104)
Core\CSharp\MS\Internal\Automation\ElementUtil.cs (1)
159return Rect.Empty;
Core\CSharp\MS\Internal\Automation\InteropAutomationProvider.cs (1)
112get { return Rect.Empty; }
Core\CSharp\MS\Internal\Ink\ErasingStroke.cs (4)
72_bounds = Rect.Empty; 107Rect inkSegmentBounds = Rect.Empty; 150Rect inkSegmentBounds = Rect.Empty; 331private Rect _bounds = Rect.Empty;
Core\CSharp\MS\Internal\Ink\Lasso.cs (4)
219Rect currentStrokeSegmentBounds = Rect.Empty; 540private Rect _bounds = Rect.Empty; 741Rect bounds = Rect.Empty; 906private Rect _prevBounds = Rect.Empty;
Core\CSharp\MS\Internal\Ink\Quad.cs (1)
91get { return IsEmpty ? Rect.Empty : Rect.Union(new Rect(_A, _B), new Rect(_C, _D)); }
Core\CSharp\MS\Internal\Ink\StrokeNode.cs (2)
102return IsValid ? _operations.GetNodeBounds(_thisNode) : Rect.Empty; 111return IsValid ? Rect.Union(_operations.GetNodeBounds(_thisNode), ConnectingQuad.Bounds) : Rect.Empty;
Core\CSharp\MS\Internal\Ink\StrokeNodeOperations.cs (1)
1343private Rect _shapeBounds = Rect.Empty;
Core\CSharp\MS\Internal\Ink\StrokeRenderer.cs (2)
55bounds = Rect.Empty; 238Rect empty = Rect.Empty;
Core\CSharp\MS\Internal\Ink\StylusShape.cs (1)
194bbox = Rect.Empty;
Core\CSharp\MS\Internal\Media3D\GeneralTransform2Dto3Dto2D.cs (4)
299Rect bbox = Rect.Empty; 321Rect triBBox = Rect.Empty; 359Rect triBBox = Rect.Empty; 1193Rect result = Rect.Empty;
Core\CSharp\MS\Internal\TextFormatting\FormattedTextSymbols.cs (2)
238Rect inkBoundingBox = Rect.Empty; 269boundingBox = Rect.Empty;
Core\CSharp\MS\Internal\TextFormatting\FullTextLine.cs (1)
626Rect boundingBox = Rect.Empty;
Core\CSharp\MS\Internal\TextFormatting\LineServicesCallbacks.cs (1)
3768_boundingBox = Rect.Empty;
Core\CSharp\MS\Internal\TextFormatting\SimpleTextLine.cs (4)
596_boundingBox = Rect.Empty; 609Rect boundingBox = Rect.Empty; 1769return Rect.Empty; // nothing to draw 1831inkBoundingBox = Rect.Empty;
Core\CSharp\System\Windows\Automation\Peers\ContentElementAutomationPeer.cs (1)
131return Rect.Empty;
Core\CSharp\System\Windows\Automation\Peers\UIElement3DAutomationPeer.cs (3)
179rectScreen = Rect.Empty; 194rect = Rect.Empty; 241isOffscreen = (DoubleUtil.AreClose(boundingRect, Rect.Empty) ||
Core\CSharp\System\Windows\Automation\Peers\UIElementAutomationPeer.cs (7)
208return Rect.Empty; 214return Rect.Empty; 237return Rect.Empty; 243return Rect.Empty; 274isOffscreen = (DoubleUtil.AreClose(boundingRect, Rect.Empty) || 300!DoubleUtil.AreClose(boundingRect, Rect.Empty) && 322boundingRect = Rect.Empty;
Core\CSharp\System\Windows\Documents\DocumentPage.cs (8)
41_bleedBox = Rect.Empty; 42_contentBox = Rect.Empty; 77_bleedBox = Rect.Empty; 78_contentBox = Rect.Empty; 122if (_bleedBox == Rect.Empty) 137if (_contentBox == Rect.Empty) 266public MissingDocumentPage() : base(null, Size.Empty, Rect.Empty, Rect.Empty) { }
Core\CSharp\System\Windows\Ink\Stroke.cs (5)
183_cachedBounds = Rect.Empty; 508_cachedBounds = Rect.Empty; 543_cachedBounds = Rect.Empty; 1080_cachedBounds = Rect.Empty; 1102_cachedBounds = Rect.Empty;
Core\CSharp\System\Windows\Ink\Stroke2.cs (1)
760private Rect _cachedBounds = Rect.Empty;
Core\CSharp\System\Windows\Ink\StrokeCollection2.cs (1)
38Rect bounds = Rect.Empty;
Core\CSharp\System\Windows\Media\BoundsDrawingContextWalker.cs (3)
60_bounds = Rect.Empty; 640_clip = Rect.Empty; 641_bounds = Rect.Empty;
Core\CSharp\System\Windows\Media\CombinedGeometry.cs (1)
143return Rect.Empty;
Core\CSharp\System\Windows\Media\DrawingVisual.cs (2)
189Rect resultRect = Rect.Empty; 200return Rect.Empty;
Core\CSharp\System\Windows\Media\Effects\Effect.cs (3)
164? Rect.Empty 221return Rect.Empty; 293private Rect _mruWorldBounds = Rect.Empty;
Core\CSharp\System\Windows\Media\Effects\Generated\BitmapEffectInput.cs (2)
236internal static Rect s_AreaToApplyEffect = Rect.Empty; 285Rect.Empty,
Core\CSharp\System\Windows\Media\Generated\ImageDrawing.cs (2)
350internal static Rect s_Rect = Rect.Empty; 388Rect.Empty,
Core\CSharp\System\Windows\Media\Generated\RectangleGeometry.cs (2)
372internal static Rect s_Rect = Rect.Empty; 419Rect.Empty,
Core\CSharp\System\Windows\Media\Generated\VideoDrawing.cs (2)
331internal static Rect s_Rect = Rect.Empty; 369Rect.Empty,
Core\CSharp\System\Windows\Media\Geometry.cs (2)
141return Rect.Empty; 225bounds = Rect.Empty;
Core\CSharp\System\Windows\Media\GlyphRun.cs (2)
1397bounds = Rect.Empty; 1573return Rect.Empty;
Core\CSharp\System\Windows\Media\HostVisual.cs (1)
104return Rect.Empty;
Core\CSharp\System\Windows\Media\ImageBrush.cs (1)
72contentBounds = Rect.Empty;
Core\CSharp\System\Windows\Media\Imaging\BitmapVisualManager.cs (1)
66Render(visual, Matrix.Identity, Rect.Empty);
Core\CSharp\System\windows\Media\MILUtilities.cs (1)
217return Rect.Empty;
Core\CSharp\System\Windows\Media\PathGeometry.cs (2)
752return Rect.Empty; 788return Rect.Empty;
Core\CSharp\System\Windows\Media\RectangleGeometry.cs (2)
96boundsRect = Rect.Empty; 204boundingRect = Rect.Empty;
Core\CSharp\System\Windows\Media\Renderer.cs (1)
46Render(pRenderTarget, channel, visual, width, height, dpiX, dpiY, Matrix.Identity, Rect.Empty);
Core\CSharp\System\Windows\Media\StreamGeometry.cs (1)
200return Rect.Empty;
Core\CSharp\System\Windows\Media\TileBrush.cs (2)
80Rect contentBounds = Rect.Empty; 97if (contentBounds == Rect.Empty)
Core\CSharp\System\Windows\Media\Visual.cs (5)
372return Rect.Empty; 485Rect bboxSubgraph = Rect.Empty; 510contentBounds = Rect.Empty; 556Rect bboxSubgraph = Rect.Empty; 5389private Rect _bboxSubgraph = Rect.Empty;
Core\CSharp\System\Windows\Media\VisualBrush.cs (1)
365private Rect _bbox = Rect.Empty;
Core\CSharp\System\Windows\Media3D\GeneralTransform3DTo2D.cs (1)
99return Rect.Empty;
Core\CSharp\System\Windows\Media3D\MeshGeometry3D.cs (1)
164return Rect.Empty;
Core\CSharp\System\Windows\Media3D\Viewport3DVisual.cs (4)
259new PropertyMetadata(Rect.Empty, ViewportPropertyChanged), 557return Rect.Empty; 573return Rect.Empty; 588return Rect.Empty;
Core\CSharp\System\Windows\Media3D\Visual3D.cs (1)
826Rect contentBounds = Rect.Empty;
Core\CSharp\System\Windows\UIElement.cs (2)
3268Rect resultRect = Rect.Empty; 3279return Rect.Empty;
Graphics\include\exports.cs (1)
2024command.Clip = Rect.Empty;
PresentationFramework (134)
src\Framework\MS\Internal\Annotations\Anchoring\TextSelectionHelper.cs (4)
265if (rect != Rect.Empty) 290if (rect != Rect.Empty) 327if (extension && rect != Rect.Empty) 334return Rect.Empty;
src\Framework\MS\Internal\Annotations\Component\MArkedHighlightComponent.cs (3)
396if (markerRect == Rect.Empty) 874if (next != Rect.Empty && current != Rect.Empty)
src\Framework\MS\Internal\AppModel\RootBrowserWindow.cs (2)
1025Rect imageableRect = Rect.Empty; 1065if (imageableRect == Rect.Empty)
src\Framework\MS\Internal\Controls\InkCanvasFeedbackAdorner.cs (1)
181private Rect _previousRect = Rect.Empty;
src\Framework\MS\Internal\Controls\InkCanvasSelectionAdorner.cs (2)
104_strokesBounds = Rect.Empty; 430Rect frameRect = Rect.Empty;
src\Framework\MS\Internal\Controls\StickyNote\StickyNoteAnnotations.cs (2)
1589Rect ret = Rect.Empty; 1605Rect pageBounds = Rect.Empty;
src\Framework\MS\Internal\Documents\DocumentGrid.cs (5)
318MakeContentPositionVisibleAsync(new MakeVisibleData(null, cp, Rect.Empty)); 1855Rect boundingRect = (data.Rect != Rect.Empty) ? data.Rect : data.Visual.VisualContentBounds; 1886if (r != Rect.Empty) 1914if (r != Rect.Empty && TextEditor != null) 2656if (selectionRect != Rect.Empty)
src\Framework\MS\Internal\Documents\DocumentPageTextView.cs (1)
134return Rect.Empty;
src\Framework\MS\Internal\Documents\DocumentViewerHelper.cs (4)
438if (positionRect != Rect.Empty) 441if (positionRect != Rect.Empty) 477while (visual != null && visibleRect != Rect.Empty) 493visibleRect = Rect.Empty;
src\Framework\MS\Internal\Documents\FlowDocumentView.cs (2)
106Rect viewport = Rect.Empty; 593rectangle = Rect.Empty;
src\Framework\MS\Internal\Documents\MultiPageTextView.cs (2)
121Rect rect = Rect.Empty; 1269if (rect != Rect.Empty)
src\Framework\MS\Internal\Documents\ScrollData.cs (1)
183return Rect.Empty;
src\Framework\MS\Internal\Documents\TextBoxView.cs (2)
236rectangle = Rect.Empty; 3003return _scrollData == null ? Rect.Empty :
src\Framework\MS\Internal\Documents\TextDocumentView.cs (14)
210Rect visibleRect = Rect.Empty; 1124Rect rect = Rect.Empty; 1158Rect rect = Rect.Empty; 1168if (rect == Rect.Empty) 1190if (rect == Rect.Empty) 1209if (rect != Rect.Empty) 1246if (rect == Rect.Empty) 1261Rect rect = Rect.Empty; 1450return Rect.Empty; 3370if (rect == Rect.Empty) 3439if (rect == Rect.Empty) 3453if (rect == Rect.Empty) 3503return Rect.Empty; 3537return Rect.Empty;
src\Framework\MS\Internal\Documents\TextViewBase.cs (1)
54if (rect != Rect.Empty)
src\Framework\MS\Internal\Ink\InkCanvasSelection.cs (5)
64_inkCanvas.FeedbackAdorner.UpdateBounds(Rect.Empty); 198feedbackAdorner.UpdateBounds(Rect.Empty); 839SelectedStrokes.GetBounds( ) : Rect.Empty; 874return Rect.Empty; 877Rect elementsBounds = Rect.Empty;
src\Framework\MS\Internal\Ink\LassoHelper.cs (1)
320_boundingBox = Rect.Empty;
src\Framework\MS\Internal\PtsHost\ParagraphVisual.cs (1)
30_renderBounds = Rect.Empty;
src\Framework\MS\Internal\PtsHost\TableParaClient.cs (1)
1243return System.Windows.Rect.Empty;
src\Framework\MS\Internal\PtsHost\TextParaClient.cs (2)
733Rect rect = System.Windows.Rect.Empty; 780Rect rect = System.Windows.Rect.Empty;
src\Framework\MS\Internal\Text\InlineObject.cs (1)
91return Rect.Empty;
src\Framework\System\Windows\Automation\Peers\DocumentAutomationPeer.cs (6)
150if (boundingRect != Rect.Empty && uiScope != null) 177if (boundingRect != Rect.Empty && uiScope != null) 210return (DoubleUtil.AreClose(boundingRect, Rect.Empty) || uiScope == null); 232Rect boundingRect = Rect.Empty; 261while (visual != null && boundingRect != Rect.Empty) 277boundingRect = Rect.Empty;
src\Framework\System\Windows\Automation\Peers\TextElementAutomationPeer.cs (8)
65return Rect.Empty; 76return Rect.Empty; 84return Rect.Empty; 96return Rect.Empty; 174if (CalculateVisibleRect(textView, textElement, textElement.ContentStart, textElement.ContentEnd) == Rect.Empty) 190Rect visibleRect = (geometry != null) ? geometry.Bounds : Rect.Empty; 192while (visual != null && visibleRect != Rect.Empty) 210return Rect.Empty;
src\Framework\System\Windows\Controls\ContextMenuService.cs (1)
238new FrameworkPropertyMetadata(Rect.Empty)); // Default Value
src\Framework\System\Windows\Controls\FlowDocumentScrollViewer.cs (2)
859if (rect != Rect.Empty) 1109Rect targetRect = Rect.Empty;
src\Framework\System\Windows\Controls\ItemsControl.cs (1)
3001elementRect = Rect.Empty;
src\Framework\System\Windows\Controls\Primitives\DocumentViewerBase.cs (1)
1145Rect targetRect = Rect.Empty;
src\Framework\System\Windows\Controls\Primitives\Popup.cs (7)
690Rect.Empty, 1509_positionInfo.MouseRect = Rect.Empty; 1996public Rect MouseRect = Rect.Empty; 2100double score = currentIntersection != Rect.Empty ? currentIntersection.Width * currentIntersection.Height : 0; 2313if (_positionInfo.MouseRect == Rect.Empty) 2324else if (placementRect == Rect.Empty) 2341if (placementRect == Rect.Empty)
src\Framework\System\Windows\Controls\Primitives\ScrollContentPresenter.cs (1)
584return Rect.Empty;
src\Framework\System\Windows\Controls\Primitives\TextBoxBase.cs (2)
1632rect = Rect.Empty; 1635return rect != Rect.Empty;
src\Framework\System\Windows\Controls\SinglePageViewer.cs (1)
1186OnBringIntoView(this, Rect.Empty, newMasterPageNumber);
src\Framework\System\Windows\Controls\Stack.cs (1)
256return Rect.Empty;
src\Framework\System\Windows\Controls\TextAdaptor.cs (5)
129Rect visibleRect = Rect.Empty; 151Rect lineRect = Rect.Empty; 226Rect rangeBounds = Rect.Empty; 329while (visual != null && visibleRect != Rect.Empty) 345visibleRect = Rect.Empty;
src\Framework\System\Windows\Controls\TextBlock.cs (1)
2288Rect rect = Rect.Empty;
src\Framework\System\Windows\Controls\TextBox.cs (3)
1405rect = Rect.Empty; 1415rect = Rect.Empty; 1418return rect != Rect.Empty;
src\Framework\System\Windows\Controls\ToolTipService.cs (1)
231new FrameworkPropertyMetadata(Rect.Empty)); // Default Value
src\Framework\System\Windows\Controls\VirtualizingStackPanel.cs (5)
1449return Rect.Empty; 2151Rect viewport = Rect.Empty, extendedViewport = Rect.Empty; 3908Rect estimatedExtendedViewport = Rect.Empty; 8046Rect childViewport = Rect.Empty;
src\Framework\System\Windows\Documents\DocumentSequenceTextView.cs (1)
154return Rect.Empty;
src\Framework\System\Windows\Documents\FixedHighlight.cs (2)
132return Rect.Empty; 138return Rect.Empty;
src\Framework\System\Windows\Documents\FixedPage.cs (2)
535new FrameworkPropertyMetadata(Rect.Empty)); 554new FrameworkPropertyMetadata(Rect.Empty));
src\Framework\System\Windows\Documents\FixedSOMSemanticBox.cs (1)
35_boundingRect = Rect.Empty;
src\Framework\System\Windows\Documents\FixedTextBuilder.cs (2)
1414_lineLayoutBox = Rect.Empty; 1799_lineLayoutBox = Rect.Empty;
src\Framework\System\Windows\Documents\FixedTextView.cs (2)
279if (backgroundRect == Rect.Empty) 1010return Rect.Empty;
src\Framework\System\Windows\Documents\Glyphs.cs (1)
124inkBoundingBox = Rect.Empty;
src\Framework\System\Windows\Documents\HighlightVisual.cs (3)
184Rect combinedRect = Rect.Empty; 202if (backgroundRect == Rect.Empty) 304if (clipRect == Rect.Empty)
src\Framework\System\Windows\Documents\RubberbandSelector.cs (1)
54_selectionRect = Rect.Empty;
src\Framework\System\Windows\Documents\TextPointer.cs (1)
1270return Rect.Empty;
src\Framework\System\Windows\Documents\TextRangeEditTables.cs (1)
1590columnRect = Rect.Empty;
src\Framework\System\windows\Documents\TextSelection.cs (1)
2229return Rect.Empty;
src\Framework\System\Windows\Documents\TextStore.cs (1)
3089return Rect.Empty;
src\Framework\System\Windows\FrameworkContentElement.cs (1)
1083RequestBringIntoViewEventArgs args = new RequestBringIntoViewEventArgs(this, Rect.Empty);
src\Framework\System\Windows\FrameworkElement.cs (1)
3302BringIntoView( /*RenderSize*/ Rect.Empty);
src\Framework\System\Windows\Input\KeyboardNavigation.cs (5)
636Rect desiredRect = Rect.Empty; 2544return Rect.Empty; 2562if (itemsHostRect != Rect.Empty) 2935Rect resultRect = Rect.Empty; 2947if (currentRect != Rect.Empty)
src\Framework\System\Windows\Shapes\Ellipse.cs (1)
244private Rect _rect = Rect.Empty;
src\Framework\System\Windows\Shapes\Polyline.cs (1)
155if (polylineGeometry.Bounds == Rect.Empty)
src\Framework\System\Windows\Shapes\Rectangle.cs (1)
291private Rect _rect = Rect.Empty;
src\Framework\System\Windows\Window.cs (2)
1126return Rect.Empty; 3908Rect ownerRectDeviceUnits = Rect.Empty;
PresentationFramework.Classic (1)
Microsoft\Windows\Themes\ClassicBorderDecorator.cs (1)
948bounds = Rect.Empty;
System.Activities.Presentation (5)
System.Activities.Presentation\System\Activities\Presentation\Model\ModelItemExtensions.cs (3)
561ModelItemFocusHelper.Focus(item, MaxExpandLevel, false, Rect.Empty); 693Focus(itemToFocus, maxExpandLevel, shouldGetKeyboardFocus, Rect.Empty); 965if (rectToBringIntoView != Rect.Empty)
System.Activities.Presentation\System\Activities\Presentation\Model\ModelSearchServiceImpl.cs (1)
721rectToBringIntoView = Rect.Empty;
System.Activities.Presentation\System\Activities\Presentation\View\VirtualizedContainerService.cs (1)
428if (this.oldBounds != Rect.Empty)
UIAutomationClient (5)
MS\Internal\Automation\BoundingRectTracker.cs (1)
121Rect.Empty,
MS\Internal\Automation\HwndProxyElementProvider.cs (2)
250return Rect.Empty; 256return Rect.Empty;
MS\Internal\Automation\Schema.cs (1)
253new AutomationPropertyInfo( convertToRect, AutomationElement.BoundingRectangleProperty, typeof(Rect), Rect.Empty ),
MS\Internal\Automation\UiaCoreAPI.cs (1)
1043rects[i] = Rect.Empty;
UIAutomationClientsideProviders (41)
MS\Internal\AutomationProxies\CommonXSendMessage.cs (2)
1187return Rect.Empty; 1217return Rect.Empty;
MS\Internal\AutomationProxies\Misc.cs (4)
1245return Rect.Empty; 2049rects[i] = Rect.Empty; 2065rects[i] = Rect.Empty; 2095rects[i] = Rect.Empty;
MS\Internal\AutomationProxies\MSAANativeProvider.cs (3)
441return Rect.Empty; 453return Rect.Empty; 460return Rect.Empty;
MS\Internal\AutomationProxies\ProxySimple.cs (2)
109return Rect.Empty; 116return Rect.Empty;
MS\Internal\AutomationProxies\WindowsComboBox.cs (4)
149return Rect.Empty; 153return Rect.Empty; 939return Rect.Empty; 943return Rect.Empty;
MS\Internal\AutomationProxies\WindowsGrip.cs (1)
80return Rect.Empty;
MS\Internal\AutomationProxies\WindowsListViewItem.cs (1)
111Rect boundingRectangle = Rect.Empty;
MS\Internal\AutomationProxies\WindowsListViewSubItem.cs (2)
90return Rect.Empty; 103return Rect.Empty;
MS\Internal\AutomationProxies\WindowsMenu.cs (2)
1301return Rect.Empty; 2923return Rect.Empty;
MS\Internal\AutomationProxies\WindowsRebar.cs (2)
418return Rect.Empty; 424return Rect.Empty;
MS\Internal\AutomationProxies\WindowsRichEditRange.cs (2)
1421rect = Rect.Empty; 1435return Rect.Empty;
MS\Internal\AutomationProxies\WindowsScrollBar.cs (2)
159return Rect.Empty; 169return Rect.Empty;
MS\Internal\AutomationProxies\WindowsScrollBarBits.cs (6)
222return Rect.Empty; 228return Rect.Empty; 237return Rect.Empty; 276return Rect.Empty; 309return Rect.Empty; 401return Rect.Empty;
MS\Internal\AutomationProxies\WindowsSlider.cs (3)
481return Rect.Empty; 493return Rect.Empty; 541return Rect.Empty;
MS\Internal\AutomationProxies\WindowsStatusBar.cs (2)
581return Rect.Empty; 592return Rect.Empty;
MS\Internal\AutomationProxies\WindowsUpDown.cs (2)
583return Rect.Empty; 626return Rect.Empty;
MS\Win32\NativeMethods.cs (1)
1236return Rect.Empty;
WindowsBase (3)
Base\System\Windows\Generated\Rect.cs (1)
190value = Empty;
Base\System\Windows\Rect.cs (2)
145Debug.Assert((!(_width < 0) && !(_height < 0)) || (this == Empty)); 495this = Empty;