36 references to Empty
PresentationCore (4)
Core\CSharp\System\Windows\Documents\DocumentPage.cs (4)
40
_pageSize = Size.
Empty
;
76
_pageSize = Size.
Empty
;
107
if (_pageSize == Size.
Empty
&& _visual != null)
266
public MissingDocumentPage() : base(null, Size.
Empty
, Rect.Empty, Rect.Empty) { }
PresentationFramework (28)
src\Framework\MS\Internal\Documents\DocumentGrid.cs (1)
1120
if (newPageSize != Size.
Empty
)
src\Framework\MS\Internal\Documents\DocumentGridPage.cs (1)
275
if (DocumentPage.Size != Size.
Empty
&& DocumentPage.Size.Width != 0.0 )
src\Framework\MS\Internal\Documents\PageCache.cs (6)
271
Invariant.Assert(pageSize != Size.
Empty
, "PageCache entry's PageSize is Empty.");
620
if (args.DocumentPage.Size == Size.
Empty
)
728
Invariant.Assert(_defaultPageSize != Size.
Empty
, "Default Page Size is Empty.");
784
Invariant.Assert(_defaultPageSize != Size.
Empty
, "Default Page Size is Empty.");
821
Invariant.Assert(newEntry.PageSize != Size.
Empty
, "Updated entry newEntry has Empty PageSize.");
855
Invariant.Assert(_defaultPageSize != Size.
Empty
, "Default Page Size is Empty.");
src\Framework\System\Windows\Controls\InkPresenter.cs (2)
65
_constraintSize = Size.
Empty
;
196
_constraintSize = Size.
Empty
;
src\Framework\System\Windows\Controls\Primitives\DocumentPageView.cs (1)
964
if (_pageHost != null && _pageHost.PageVisual != null && _documentPage.Size != Size.
Empty
)
src\Framework\System\Windows\Controls\Primitives\Popup.cs (1)
1510
_positionInfo.ChildSize = Size.
Empty
;
src\Framework\System\Windows\Controls\VirtualizingStackPanel.cs (12)
3337
Size childDesiredSize = Size.
Empty
;
3378
Size childSizeBeforeViewport = Size.
Empty
;
3921
Size.
Empty
,
3922
Size.
Empty
,
3923
Size.
Empty
,
3924
Size.
Empty
,
3925
Size.
Empty
,
3926
Size.
Empty
,
5923
containerSize = Size.
Empty
;
6184
Size oldSize = (oldValue != null) ? (Size)oldValue : Size.
Empty
;
6215
: new ContainerSizeDual(Size.
Empty
, Size.
Empty
);
src\Framework\System\Windows\Documents\TextStore.cs (1)
938
Rect rectBound = new Rect(Size.
Empty
);
src\Framework\System\Windows\FrameworkElement.cs (2)
4533
Size transformedUnroundedDS = Size.
Empty
;
4605
if (transformedUnroundedDS != Size.
Empty
)
src\Framework\System\Windows\Interop\ActiveXHost.cs (1)
1200
private Size _cachedSize = Size.
Empty
;
System.Activities.Presentation (2)
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\manifestimages.cs (1)
276
get { return Size.
Empty
; }
System.Activities.Presentation\System\Activities\Presentation\View\TypeBrowser.xaml.cs (1)
54
static Size size = Size.
Empty
;
WindowsBase (2)
Base\System\Windows\Generated\Size.cs (1)
184
value =
Empty
;
Base\System\Windows\Rect.cs (1)
180
return Size.
Empty
;