31 references to ViewMode
PresentationFramework (31)
MS\Internal\Documents\DocumentGrid.cs (31)
446QueueUpdateDocumentLayout(new DocumentLayout(columns, ViewMode.SetColumns));
460QueueUpdateDocumentLayout(new DocumentLayout(columns, ViewMode.FitColumns));
472new DocumentLayout(1 /* one column */, ViewMode.PageWidth));
484new DocumentLayout(1 /* one column */, ViewMode.PageHeight));
497new DocumentLayout(1 /* one column, arbitrary */, ViewMode.Thumbnails));
606QueueUpdateDocumentLayout(new DocumentLayout(offset, ViewMode.SetHorizontalOffset));
649QueueUpdateDocumentLayout(new DocumentLayout(offset, ViewMode.SetVerticalOffset));
727if (_documentLayout.ViewMode == ViewMode.Thumbnails)
729_documentLayout.ViewMode = ViewMode.SetColumns;
1947_documentLayout.ViewMode = ViewMode.Zoom;
2067if (layout.ViewMode == ViewMode.SetHorizontalOffset)
2072else if (layout.ViewMode == ViewMode.SetVerticalOffset)
2092if (_documentLayout.ViewMode == ViewMode.Thumbnails)
2430case ViewMode.SetColumns:
2434case ViewMode.FitColumns:
2439case ViewMode.PageWidth:
2444case ViewMode.PageHeight:
2449case ViewMode.Thumbnails:
2470case ViewMode.Zoom:
2892if (_documentLayout.ViewMode != ViewMode.Zoom &&
2893_documentLayout.ViewMode != ViewMode.SetColumns
2984if (!RowIsClean(pivotRow) && _documentLayout.ViewMode != ViewMode.Zoom)
3034_documentLayout.ViewMode != ViewMode.Zoom &&
3035_documentLayout.ViewMode != ViewMode.SetColumns)
3131return _documentLayout.ViewMode == ViewMode.Thumbnails ?
3176new DocumentLayout(1, ViewMode.SetColumns);
3304public DocumentLayout(int columns, ViewMode viewMode)
3307public DocumentLayout(double offset, ViewMode viewMode)
3310public DocumentLayout(int columns, double offset, ViewMode viewMode)
3320public ViewMode ViewMode
3345private ViewMode _viewMode;