31 references to ViewMode
PresentationFramework (31)
MS\Internal\Documents\DocumentGrid.cs (31)
453QueueUpdateDocumentLayout(new DocumentLayout(columns, ViewMode.SetColumns)); 467QueueUpdateDocumentLayout(new DocumentLayout(columns, ViewMode.FitColumns)); 479new DocumentLayout(1 /* one column */, ViewMode.PageWidth)); 491new DocumentLayout(1 /* one column */, ViewMode.PageHeight)); 504new DocumentLayout(1 /* one column, arbitrary */, ViewMode.Thumbnails)); 613QueueUpdateDocumentLayout(new DocumentLayout(offset, ViewMode.SetHorizontalOffset)); 656QueueUpdateDocumentLayout(new DocumentLayout(offset, ViewMode.SetVerticalOffset)); 734if (_documentLayout.ViewMode == ViewMode.Thumbnails) 736_documentLayout.ViewMode = ViewMode.SetColumns; 1951_documentLayout.ViewMode = ViewMode.Zoom; 2071if (layout.ViewMode == ViewMode.SetHorizontalOffset) 2076else if (layout.ViewMode == ViewMode.SetVerticalOffset) 2096if (_documentLayout.ViewMode == ViewMode.Thumbnails) 2434case ViewMode.SetColumns: 2438case ViewMode.FitColumns: 2443case ViewMode.PageWidth: 2448case ViewMode.PageHeight: 2453case ViewMode.Thumbnails: 2474case ViewMode.Zoom: 2894if (_documentLayout.ViewMode != ViewMode.Zoom && 2895_documentLayout.ViewMode != ViewMode.SetColumns 2986if (!RowIsClean(pivotRow) && _documentLayout.ViewMode != ViewMode.Zoom) 3036_documentLayout.ViewMode != ViewMode.Zoom && 3037_documentLayout.ViewMode != ViewMode.SetColumns) 3133return _documentLayout.ViewMode == ViewMode.Thumbnails ? 3178new DocumentLayout(1, ViewMode.SetColumns); 3306public DocumentLayout(int columns, ViewMode viewMode) 3309public DocumentLayout(double offset, ViewMode viewMode) 3312public DocumentLayout(int columns, double offset, ViewMode viewMode) 3322public ViewMode ViewMode 3347private ViewMode _viewMode;