13 references to DocumentViewerConstants
PresentationFramework (13)
src\Framework\MS\Internal\Documents\DocumentGrid.cs (5)
2275maxColumns = Math.Min(maxColumns, DocumentViewerConstants.MaximumMaxPagesAcross); 2372newScale > DocumentViewerConstants.MaximumScale) 2413newScale = Math.Min(newScale, DocumentViewerConstants.MaximumScale); 3186DocumentViewerConstants.MinimumThumbnailsScale : 3187DocumentViewerConstants.MinimumScale;
src\Framework\MS\Internal\Documents\RowCache.cs (1)
806if (newRow.PageCount == DocumentViewerConstants.MaximumMaxPagesAcross)
src\Framework\System\Windows\Controls\DocumentViewer.cs (7)
2561if (checkValue < DocumentViewerConstants.MinimumZoom) 2563return DocumentViewerConstants.MinimumZoom; 2566if (checkValue > DocumentViewerConstants.MaximumZoom) 2568return DocumentViewerConstants.MaximumZoom; 2594dv.SetValue(CanIncreaseZoomPropertyKey, newZoom < DocumentViewerConstants.MaximumZoom); 2595dv.SetValue(CanDecreaseZoomPropertyKey, newZoom > DocumentViewerConstants.MinimumZoom); 2618return checkValue > 0 && checkValue <= DocumentViewerConstants.MaximumMaxPagesAcross;