13 references to DocumentViewerConstants
PresentationFramework (13)
MS\Internal\Documents\DocumentGrid.cs (5)
2235
maxColumns = Math.Min(maxColumns,
DocumentViewerConstants
.MaximumMaxPagesAcross);
2331
newScale >
DocumentViewerConstants
.MaximumScale)
2371
newScale = Math.Min(newScale,
DocumentViewerConstants
.MaximumScale);
3134
DocumentViewerConstants
.MinimumThumbnailsScale :
3135
DocumentViewerConstants
.MinimumScale;
MS\Internal\Documents\RowCache.cs (1)
773
if (newRow.PageCount ==
DocumentViewerConstants
.MaximumMaxPagesAcross)
System\Windows\Controls\DocumentViewer.cs (7)
2490
if (checkValue <
DocumentViewerConstants
.MinimumZoom)
2492
return
DocumentViewerConstants
.MinimumZoom;
2495
if (checkValue >
DocumentViewerConstants
.MaximumZoom)
2497
return
DocumentViewerConstants
.MaximumZoom;
2523
dv.SetValue(CanIncreaseZoomPropertyKey, newZoom <
DocumentViewerConstants
.MaximumZoom);
2524
dv.SetValue(CanDecreaseZoomPropertyKey, newZoom >
DocumentViewerConstants
.MinimumZoom);
2547
return checkValue > 0 && checkValue <=
DocumentViewerConstants
.MaximumMaxPagesAcross;