src\Framework\MS\Internal\Documents\DocumentGrid.cs (31)
469QueueUpdateDocumentLayout(new DocumentLayout(columns, ViewMode.SetColumns));
486QueueUpdateDocumentLayout(new DocumentLayout(columns, ViewMode.FitColumns));
498new DocumentLayout(1 /* one column */, ViewMode.PageWidth));
510new DocumentLayout(1 /* one column */, ViewMode.PageHeight));
523new DocumentLayout(1 /* one column, arbitrary */, ViewMode.Thumbnails));
632QueueUpdateDocumentLayout(new DocumentLayout(offset, ViewMode.SetHorizontalOffset));
675QueueUpdateDocumentLayout(new DocumentLayout(offset, ViewMode.SetVerticalOffset));
753if (_documentLayout.ViewMode == ViewMode.Thumbnails)
755_documentLayout.ViewMode = ViewMode.SetColumns;
1990_documentLayout.ViewMode = ViewMode.Zoom;
2111if (layout.ViewMode == ViewMode.SetHorizontalOffset)
2116else if (layout.ViewMode == ViewMode.SetVerticalOffset)
2136if (_documentLayout.ViewMode == ViewMode.Thumbnails)
2476case ViewMode.SetColumns:
2480case ViewMode.FitColumns:
2485case ViewMode.PageWidth:
2490case ViewMode.PageHeight:
2495case ViewMode.Thumbnails:
2516case ViewMode.Zoom:
2946if (_documentLayout.ViewMode != ViewMode.Zoom &&
2947_documentLayout.ViewMode != ViewMode.SetColumns
3038if (!RowIsClean(pivotRow) && _documentLayout.ViewMode != ViewMode.Zoom)
3088_documentLayout.ViewMode != ViewMode.Zoom &&
3089_documentLayout.ViewMode != ViewMode.SetColumns)
3185return _documentLayout.ViewMode == ViewMode.Thumbnails ?
3230new DocumentLayout(1, ViewMode.SetColumns);
3358public DocumentLayout(int columns, ViewMode viewMode)
3361public DocumentLayout(double offset, ViewMode viewMode)
3364public DocumentLayout(int columns, double offset, ViewMode viewMode)
3374public ViewMode ViewMode
3399private ViewMode _viewMode;