2 instantiations of DocumentViewer
PresentationFramework (2)
src\Framework\System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
3735bamlType.DefaultConstructor = delegate() { return new System.Windows.Controls.DocumentViewer(); };
src\Framework\System\Windows\Markup\KnownTypes.cs (1)
1237case KnownElements.DocumentViewer: o = new System.Windows.Controls.DocumentViewer(); break;
102 references to DocumentViewer
PresentationFramework (102)
src\Framework\MS\Internal\AppModel\OleCmdHelper.cs (4)
281_applicationCommandsMappingTable.Value.Add((uint)AppCommands.View_Zoom_PageWidth, new CommandWithArgument(DocumentViewer.FitToWidthCommand)); 282_applicationCommandsMappingTable.Value.Add((uint)AppCommands.View_Zoom_WholePage, new CommandWithArgument(DocumentViewer.FitToHeightCommand)); 283_applicationCommandsMappingTable.Value.Add((uint)AppCommands.View_Zoom_TwoPages, new CommandWithArgument(DocumentViewer.FitToMaxPagesAcrossCommand, 2)); 284_applicationCommandsMappingTable.Value.Add((uint)AppCommands.View_Zoom_Thumbnails, new CommandWithArgument(DocumentViewer.ViewThumbnailsCommand));
src\Framework\MS\Internal\Documents\DocumentGrid.cs (2)
992public DocumentViewer DocumentViewerOwner 3220private DocumentViewer _documentViewerOwner;
src\Framework\MS\Internal\Documents\DocumentGridContextMenu.cs (2)
72DocumentViewer dv = sender as DocumentViewer;
src\Framework\MS\Internal\Documents\IDocumentScrollInfo.cs (2)
29/// An IDocumentScrollInfo serves as the main scrolling region inside a <see cref="System.Windows.Controls.DocumentViewer" /> 216DocumentViewer DocumentViewerOwner { get; set; }
src\Framework\MS\Internal\Documents\MultiPageTextView.cs (2)
432else if (_viewer is DocumentViewer) 435bringIntoViewPending = ((DocumentViewer)_viewer).BringPointIntoView(point);
src\Framework\System\Windows\Automation\Peers\DocumentViewerAutomationPeer.cs (3)
28public DocumentViewerAutomationPeer(DocumentViewer owner) 52DocumentViewer owner = (DocumentViewer)Owner;
src\Framework\System\Windows\Controls\DocumentViewer.cs (81)
387typeof(DocumentViewer), 417typeof(DocumentViewer), 446typeof(DocumentViewer), 474typeof(DocumentViewer), 502typeof(DocumentViewer), 531typeof(DocumentViewer), 559typeof(DocumentViewer), 591typeof(DocumentViewer), 626typeof(DocumentViewer), 654typeof(DocumentViewer), 678typeof(DocumentViewer), 702typeof(DocumentViewer), 728typeof(DocumentViewer), 754typeof(DocumentViewer), 780typeof(DocumentViewer), 807typeof(DocumentViewer), 836typeof(DocumentViewer), 1208Zoom = DocumentViewer._zoomLevelCollection[_zoomLevelIndex]; 1226if ((oldZoom == DocumentViewer._zoomLevelCollection[_zoomLevelIndex]) && 1227(_zoomLevelIndex < DocumentViewer._zoomLevelCollection.Length - 1)) 1518typeof(DocumentViewer), 1521CommandHelpers.RegisterCommandHandler( typeof(DocumentViewer), 1533typeof(DocumentViewer), 1536CommandHelpers.RegisterCommandHandler(typeof(DocumentViewer), 1548typeof(DocumentViewer), 1551CommandHelpers.RegisterCommandHandler(typeof(DocumentViewer), 1563typeof(DocumentViewer), 1566CommandHelpers.RegisterCommandHandler(typeof(DocumentViewer), 1576CommandHelpers.RegisterCommandHandler(typeof(DocumentViewer), 1584CommandHelpers.RegisterCommandHandler(typeof(DocumentViewer), 1593CommandHelpers.RegisterCommandHandler(typeof(DocumentViewer), 1602CommandHelpers.RegisterCommandHandler(typeof(DocumentViewer), 1611CommandHelpers.RegisterCommandHandler(typeof(DocumentViewer), 1620CommandHelpers.RegisterCommandHandler(typeof(DocumentViewer), 1629CommandHelpers.RegisterCommandHandler(typeof(DocumentViewer), 1638CommandHelpers.RegisterCommandHandler(typeof(DocumentViewer), 1647CommandHelpers.RegisterCommandHandler(typeof(DocumentViewer), 1656CommandHelpers.RegisterCommandHandler(typeof(DocumentViewer), 1665CommandHelpers.RegisterCommandHandler(typeof(DocumentViewer), 1681CommandHelpers.RegisterCommandHandler(typeof(DocumentViewer), 1695CommandHelpers.RegisterCommandHandler(typeof(DocumentViewer), 1702CommandHelpers.RegisterCommandHandler(typeof(DocumentViewer), 1709CommandHelpers.RegisterCommandHandler(typeof(DocumentViewer), 1716CommandHelpers.RegisterCommandHandler(typeof(DocumentViewer), 1734CommandManager.RegisterClassInputBinding(typeof(DocumentViewer), 1740new InputBinding(DocumentViewer.FitToMaxPagesAcrossCommand, 1744CommandManager.RegisterClassInputBinding(typeof(DocumentViewer), 1750new InputBinding(DocumentViewer.FitToMaxPagesAcrossCommand, 1754CommandManager.RegisterClassInputBinding(typeof(DocumentViewer), 1773DocumentViewer dv = target as DocumentViewer; 1880DocumentViewer dv = target as DocumentViewer; 1987private static void DoFitToMaxPagesAcross(DocumentViewer dv, object data) 2044private static void DoZoom(DocumentViewer dv, object data) 2081DefaultStyleKeyProperty.OverrideMetadata(typeof(DocumentViewer), new FrameworkPropertyMetadata(typeof(DocumentViewer))); 2082_dType = DependencyObjectType.FromSystemTypeInternal(typeof(DocumentViewer)); 2473DocumentViewer dv = (DocumentViewer)d; 2493DocumentViewer dv = (DocumentViewer)d; 2510DocumentViewer dv = (DocumentViewer)d; 2518DocumentViewer dv = (DocumentViewer)d; 2526DocumentViewer dv = (DocumentViewer)d; 2535DocumentViewer dv = (DocumentViewer)d; 2547DocumentViewer dv = (DocumentViewer) d; 2579DocumentViewer dv = (DocumentViewer)d; 2591dv._documentScrollInfo.SetScale(DocumentViewer.ZoomToScale(newZoom)); 2626DocumentViewer dv = (DocumentViewer)d; 2657DocumentViewer dv = (DocumentViewer)d; 2673DocumentViewer dv = (DocumentViewer)d;
src\Framework\System\Windows\Markup\Baml2006\Baml2006KnownTypes.cs (1)
258case 166: t = () => typeof(DocumentViewer); break;
src\Framework\System\Windows\Markup\Baml2006\WpfGeneratedKnownProperties.cs (3)
4430Type type = typeof(System.Windows.Controls.DocumentViewer); 4431DependencyProperty dp = System.Windows.Controls.DocumentViewer.DocumentProperty; 4433this.GetXamlType(typeof(System.Windows.Controls.DocumentViewer)), // DeclaringType
src\Framework\System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
3733typeof(System.Windows.Controls.DocumentViewer),
src\Framework\System\Windows\Markup\KnownTypes.cs (1)
5710case KnownElements.DocumentViewer: t = typeof(System.Windows.Controls.DocumentViewer); break;