34 references to Size
PresentationCore (2)
Core\CSharp\System\Windows\Documents\DocumentPage.cs (2)
124
return new Rect(this.
Size
);
139
return new Rect(this.
Size
);
PresentationFramework (32)
src\Framework\MS\Internal\Documents\DocumentGridPage.cs (3)
275
if (DocumentPage.
Size
!= Size.Empty && DocumentPage.
Size
.Width != 0.0 )
277
_documentPageView.SetPageZoom(availableSize.Width / DocumentPage.
Size
.Width);
src\Framework\MS\Internal\Documents\FlowDocumentPaginator.cs (1)
389
transform = new MatrixTransform(-1.0, 0.0, 0.0, 1.0, flowDocumentPage.
Size
.Width, 0.0);
src\Framework\MS\Internal\Documents\FlowDocumentView.cs (5)
89
desiredSize.Width = Math.Min(constraint.Width, _formatter.DocumentPage.
Size
.Width);
90
desiredSize.Height = Math.Min(constraint.Height, _formatter.DocumentPage.
Size
.Height);
94
desiredSize = _formatter.DocumentPage.
Size
;
131
if (!DoubleUtil.AreClose(_scrollData.Extent, _formatter.DocumentPage.
Size
))
133
_scrollData.Extent = _formatter.DocumentPage.
Size
;
src\Framework\MS\Internal\Documents\PageCache.cs (2)
620
if (args.DocumentPage.
Size
== Size.Empty)
627
newEntry.PageSize = args.DocumentPage.
Size
;
src\Framework\MS\Internal\Documents\TextDocumentView.cs (5)
3337
MatrixTransform transform = new MatrixTransform(-1.0, 0.0, 0.0, 1.0, _owner.
Size
.Width, 0.0);
3355
MatrixTransform transform = new MatrixTransform(-1.0, 0.0, 0.0, 1.0, _owner.
Size
.Width, 0.0);
3381
transform = new MatrixTransform(-1.0, 0.0, 0.0, 1.0, _owner.
Size
.Width, 0.0);
3399
MatrixTransform transform = new MatrixTransform(-1.0, 0.0, 0.0, 1.0, _owner.
Size
.Width, 0.0);
3417
MatrixTransform transform = new MatrixTransform(-1.0, 0.0, 0.0, 1.0, _owner.
Size
.Width, 0.0);
src\Framework\MS\Internal\LayoutDump.cs (1)
306
DumpSize(writer, "Size", page.
Size
);
src\Framework\MS\Internal\PtsHost\FlowDocumentPage.cs (2)
799
return new Rect(this.
Size
);
900
PtsHelper.UpdateMirroringTransform(FlowDirection.LeftToRight, flowdirection, pageVisual,
Size
.Width);
src\Framework\MS\Internal\PtsHost\StructuralCache.cs (1)
664
internal Size DocumentPageSize { get { return _owner._currentPage.
Size
; } }
src\Framework\System\Windows\Annotations\AnnotationDocumentPaginator.cs (1)
308
Size tempSize = page.
Size
;
src\Framework\System\Windows\Controls\Primitives\DocumentPageView.cs (6)
327
pageSize = new Size(_documentPage.
Size
.Width * _pageZoom, _documentPage.
Size
.Height * _pageZoom);
393
pageSize = _documentPage.
Size
;
439
_pageHost.Arrange(new Rect(_pageHost.CachedOffset, _documentPage.
Size
));
964
if (_pageHost != null && _pageHost.PageVisual != null && _documentPage.
Size
!= Size.Empty)
969
Rect pageVisualRect = new Rect(_documentPage.
Size
);
src\Framework\System\Windows\Documents\DocumentSequence.cs (3)
1092
: base((documentPage is FixedDocumentPage) ? ((FixedDocumentPage)documentPage).FixedPage : documentPage.Visual, documentPage.
Size
, documentPage.BleedBox, documentPage.ContentBox)
1173
e.Measure(base.
Size
);
1174
e.Arrange(new Rect(base.
Size
));
src\Framework\System\Windows\Documents\FixedDocument.cs (2)
1465
e.Measure(base.
Size
);
1466
e.Arrange(new Rect(base.
Size
));