1 type derived from DocumentViewer
PresentationUI (1)
MS\Internal\Documents\DocumentApplicationDocumentViewer.cs (1)
31internal sealed class DocumentApplicationDocumentViewer : DocumentViewer
2 instantiations of DocumentViewer
PresentationFramework (2)
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
3737bamlType.DefaultConstructor = delegate() { return new System.Windows.Controls.DocumentViewer(); };
System\Windows\Markup\KnownTypes.cs (1)
1236case KnownElements.DocumentViewer: o = new System.Windows.Controls.DocumentViewer(); break;
100 references to DocumentViewer
PresentationFramework (99)
MS\Internal\AppModel\OleCmdHelper.cs (4)
234_applicationCommandsMappingTable.Add((uint)AppCommands.View_Zoom_PageWidth, new CommandWithArgument(DocumentViewer.FitToWidthCommand)); 235_applicationCommandsMappingTable.Add((uint)AppCommands.View_Zoom_WholePage, new CommandWithArgument(DocumentViewer.FitToHeightCommand)); 236_applicationCommandsMappingTable.Add((uint)AppCommands.View_Zoom_TwoPages, new CommandWithArgument(DocumentViewer.FitToMaxPagesAcrossCommand, 2)); 237_applicationCommandsMappingTable.Add((uint)AppCommands.View_Zoom_Thumbnails, new CommandWithArgument(DocumentViewer.ViewThumbnailsCommand));
MS\Internal\Documents\DocumentGrid.cs (2)
965public DocumentViewer DocumentViewerOwner 3161private DocumentViewer _documentViewerOwner;
MS\Internal\Documents\DocumentGridContextMenu.cs (2)
52DocumentViewer dv = sender as DocumentViewer;
MS\Internal\Documents\IDocumentScrollInfo.cs (2)
19/// An IDocumentScrollInfo serves as the main scrolling region inside a <see cref="System.Windows.Controls.DocumentViewer" /> 205DocumentViewer DocumentViewerOwner { get; set; }
MS\Internal\Documents\MultiPageTextView.cs (2)
427else if (_viewer is DocumentViewer) 430bringIntoViewPending = ((DocumentViewer)_viewer).BringPointIntoView(point);
System\Windows\Automation\Peers\DocumentViewerAutomationPeer.cs (3)
19public DocumentViewerAutomationPeer(DocumentViewer owner) 43DocumentViewer owner = (DocumentViewer)Owner;
System\Windows\Controls\DocumentViewer.cs (78)
361typeof(DocumentViewer), 391typeof(DocumentViewer), 420typeof(DocumentViewer), 448typeof(DocumentViewer), 476typeof(DocumentViewer), 505typeof(DocumentViewer), 533typeof(DocumentViewer), 565typeof(DocumentViewer), 600typeof(DocumentViewer), 628typeof(DocumentViewer), 652typeof(DocumentViewer), 676typeof(DocumentViewer), 702typeof(DocumentViewer), 728typeof(DocumentViewer), 754typeof(DocumentViewer), 781typeof(DocumentViewer), 810typeof(DocumentViewer), 1481typeof(DocumentViewer), 1484CommandHelpers.RegisterCommandHandler( typeof(DocumentViewer), 1496typeof(DocumentViewer), 1499CommandHelpers.RegisterCommandHandler(typeof(DocumentViewer), 1511typeof(DocumentViewer), 1514CommandHelpers.RegisterCommandHandler(typeof(DocumentViewer), 1526typeof(DocumentViewer), 1529CommandHelpers.RegisterCommandHandler(typeof(DocumentViewer), 1539CommandHelpers.RegisterCommandHandler(typeof(DocumentViewer), 1547CommandHelpers.RegisterCommandHandler(typeof(DocumentViewer), 1556CommandHelpers.RegisterCommandHandler(typeof(DocumentViewer), 1565CommandHelpers.RegisterCommandHandler(typeof(DocumentViewer), 1574CommandHelpers.RegisterCommandHandler(typeof(DocumentViewer), 1583CommandHelpers.RegisterCommandHandler(typeof(DocumentViewer), 1592CommandHelpers.RegisterCommandHandler(typeof(DocumentViewer), 1601CommandHelpers.RegisterCommandHandler(typeof(DocumentViewer), 1610CommandHelpers.RegisterCommandHandler(typeof(DocumentViewer), 1619CommandHelpers.RegisterCommandHandler(typeof(DocumentViewer), 1628CommandHelpers.RegisterCommandHandler(typeof(DocumentViewer), 1644CommandHelpers.RegisterCommandHandler(typeof(DocumentViewer), 1658CommandHelpers.RegisterCommandHandler(typeof(DocumentViewer), 1665CommandHelpers.RegisterCommandHandler(typeof(DocumentViewer), 1672CommandHelpers.RegisterCommandHandler(typeof(DocumentViewer), 1679CommandHelpers.RegisterCommandHandler(typeof(DocumentViewer), 1697CommandManager.RegisterClassInputBinding(typeof(DocumentViewer), 1703new InputBinding(DocumentViewer.FitToMaxPagesAcrossCommand, 1707CommandManager.RegisterClassInputBinding(typeof(DocumentViewer), 1713new InputBinding(DocumentViewer.FitToMaxPagesAcrossCommand, 1717CommandManager.RegisterClassInputBinding(typeof(DocumentViewer), 1728DocumentViewer dv = target as DocumentViewer; 1834DocumentViewer dv = target as DocumentViewer; 1941private static void DoFitToMaxPagesAcross(DocumentViewer dv, object data) 1992private static void DoZoom(DocumentViewer dv, object data) 2024DefaultStyleKeyProperty.OverrideMetadata(typeof(DocumentViewer), new FrameworkPropertyMetadata(typeof(DocumentViewer))); 2025_dType = DependencyObjectType.FromSystemTypeInternal(typeof(DocumentViewer)); 2390DocumentViewer dv = (DocumentViewer)d; 2410DocumentViewer dv = (DocumentViewer)d; 2427DocumentViewer dv = (DocumentViewer)d; 2435DocumentViewer dv = (DocumentViewer)d; 2443DocumentViewer dv = (DocumentViewer)d; 2452DocumentViewer dv = (DocumentViewer)d; 2464DocumentViewer dv = (DocumentViewer) d; 2496DocumentViewer dv = (DocumentViewer)d; 2508dv._documentScrollInfo.SetScale(DocumentViewer.ZoomToScale(newZoom)); 2543DocumentViewer dv = (DocumentViewer)d; 2573DocumentViewer dv = (DocumentViewer)d; 2589DocumentViewer dv = (DocumentViewer)d;
System\Windows\Markup\Baml2006\Baml2006KnownTypes.cs (1)
260case 166: t = () => typeof(DocumentViewer); break;
System\Windows\Markup\Baml2006\WpfGeneratedKnownProperties.cs (3)
4453Type type = typeof(System.Windows.Controls.DocumentViewer); 4454DependencyProperty dp = System.Windows.Controls.DocumentViewer.DocumentProperty; 4456this.GetXamlType(typeof(System.Windows.Controls.DocumentViewer)), // DeclaringType
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
3735typeof(System.Windows.Controls.DocumentViewer),
System\Windows\Markup\KnownTypes.cs (1)
5720case KnownElements.DocumentViewer: t = typeof(System.Windows.Controls.DocumentViewer); break;
PresentationUI (1)
MS\Internal\Documents\DocumentApplicationDocumentViewer.cs (1)
2084DocumentViewer.ViewThumbnailsCommand.InputGestures.Add(new KeyGesture(Key.D5, ModifierKeys.Control));