1 type derived from DocumentViewer
PresentationUI (1)
MS\Internal\Documents\DocumentApplicationDocumentViewer.cs (1)
40internal sealed class DocumentApplicationDocumentViewer : DocumentViewer
2 instantiations of DocumentViewer
PresentationFramework (2)
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
3739bamlType.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)
240_applicationCommandsMappingTable.Value.Add((uint)AppCommands.View_Zoom_PageWidth, new CommandWithArgument(DocumentViewer.FitToWidthCommand)); 241_applicationCommandsMappingTable.Value.Add((uint)AppCommands.View_Zoom_WholePage, new CommandWithArgument(DocumentViewer.FitToHeightCommand)); 242_applicationCommandsMappingTable.Value.Add((uint)AppCommands.View_Zoom_TwoPages, new CommandWithArgument(DocumentViewer.FitToMaxPagesAcrossCommand, 2)); 243_applicationCommandsMappingTable.Value.Add((uint)AppCommands.View_Zoom_Thumbnails, new CommandWithArgument(DocumentViewer.ViewThumbnailsCommand));
MS\Internal\Documents\DocumentGrid.cs (2)
972public DocumentViewer DocumentViewerOwner 3168private DocumentViewer _documentViewerOwner;
MS\Internal\Documents\DocumentGridContextMenu.cs (2)
60DocumentViewer dv = sender as DocumentViewer;
MS\Internal\Documents\IDocumentScrollInfo.cs (2)
25/// An IDocumentScrollInfo serves as the main scrolling region inside a <see cref="System.Windows.Controls.DocumentViewer" /> 211DocumentViewer DocumentViewerOwner { get; set; }
MS\Internal\Documents\MultiPageTextView.cs (2)
429else if (_viewer is DocumentViewer) 432bringIntoViewPending = ((DocumentViewer)_viewer).BringPointIntoView(point);
System\Windows\Automation\Peers\DocumentViewerAutomationPeer.cs (3)
31public DocumentViewerAutomationPeer(DocumentViewer owner) 55DocumentViewer owner = (DocumentViewer)Owner;
System\Windows\Controls\DocumentViewer.cs (78)
373typeof(DocumentViewer), 403typeof(DocumentViewer), 432typeof(DocumentViewer), 460typeof(DocumentViewer), 488typeof(DocumentViewer), 517typeof(DocumentViewer), 545typeof(DocumentViewer), 577typeof(DocumentViewer), 612typeof(DocumentViewer), 640typeof(DocumentViewer), 664typeof(DocumentViewer), 688typeof(DocumentViewer), 714typeof(DocumentViewer), 740typeof(DocumentViewer), 766typeof(DocumentViewer), 793typeof(DocumentViewer), 822typeof(DocumentViewer), 1493typeof(DocumentViewer), 1496CommandHelpers.RegisterCommandHandler( typeof(DocumentViewer), 1508typeof(DocumentViewer), 1511CommandHelpers.RegisterCommandHandler(typeof(DocumentViewer), 1523typeof(DocumentViewer), 1526CommandHelpers.RegisterCommandHandler(typeof(DocumentViewer), 1538typeof(DocumentViewer), 1541CommandHelpers.RegisterCommandHandler(typeof(DocumentViewer), 1551CommandHelpers.RegisterCommandHandler(typeof(DocumentViewer), 1559CommandHelpers.RegisterCommandHandler(typeof(DocumentViewer), 1568CommandHelpers.RegisterCommandHandler(typeof(DocumentViewer), 1577CommandHelpers.RegisterCommandHandler(typeof(DocumentViewer), 1586CommandHelpers.RegisterCommandHandler(typeof(DocumentViewer), 1595CommandHelpers.RegisterCommandHandler(typeof(DocumentViewer), 1604CommandHelpers.RegisterCommandHandler(typeof(DocumentViewer), 1613CommandHelpers.RegisterCommandHandler(typeof(DocumentViewer), 1622CommandHelpers.RegisterCommandHandler(typeof(DocumentViewer), 1631CommandHelpers.RegisterCommandHandler(typeof(DocumentViewer), 1640CommandHelpers.RegisterCommandHandler(typeof(DocumentViewer), 1656CommandHelpers.RegisterCommandHandler(typeof(DocumentViewer), 1670CommandHelpers.RegisterCommandHandler(typeof(DocumentViewer), 1677CommandHelpers.RegisterCommandHandler(typeof(DocumentViewer), 1684CommandHelpers.RegisterCommandHandler(typeof(DocumentViewer), 1691CommandHelpers.RegisterCommandHandler(typeof(DocumentViewer), 1709CommandManager.RegisterClassInputBinding(typeof(DocumentViewer), 1715new InputBinding(DocumentViewer.FitToMaxPagesAcrossCommand, 1719CommandManager.RegisterClassInputBinding(typeof(DocumentViewer), 1725new InputBinding(DocumentViewer.FitToMaxPagesAcrossCommand, 1729CommandManager.RegisterClassInputBinding(typeof(DocumentViewer), 1740DocumentViewer dv = target as DocumentViewer; 1846DocumentViewer dv = target as DocumentViewer; 1953private static void DoFitToMaxPagesAcross(DocumentViewer dv, object data) 2004private static void DoZoom(DocumentViewer dv, object data) 2036DefaultStyleKeyProperty.OverrideMetadata(typeof(DocumentViewer), new FrameworkPropertyMetadata(typeof(DocumentViewer))); 2037_dType = DependencyObjectType.FromSystemTypeInternal(typeof(DocumentViewer)); 2402DocumentViewer dv = (DocumentViewer)d; 2422DocumentViewer dv = (DocumentViewer)d; 2439DocumentViewer dv = (DocumentViewer)d; 2447DocumentViewer dv = (DocumentViewer)d; 2455DocumentViewer dv = (DocumentViewer)d; 2464DocumentViewer dv = (DocumentViewer)d; 2476DocumentViewer dv = (DocumentViewer) d; 2508DocumentViewer dv = (DocumentViewer)d; 2520dv._documentScrollInfo.SetScale(DocumentViewer.ZoomToScale(newZoom)); 2555DocumentViewer dv = (DocumentViewer)d; 2585DocumentViewer dv = (DocumentViewer)d; 2601DocumentViewer dv = (DocumentViewer)d;
System\Windows\Markup\Baml2006\Baml2006KnownTypes.cs (1)
262case 166: t = () => typeof(DocumentViewer); break;
System\Windows\Markup\Baml2006\WpfGeneratedKnownProperties.cs (3)
4455Type type = typeof(System.Windows.Controls.DocumentViewer); 4456DependencyProperty dp = System.Windows.Controls.DocumentViewer.DocumentProperty; 4458this.GetXamlType(typeof(System.Windows.Controls.DocumentViewer)), // DeclaringType
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
3737typeof(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)
2093DocumentViewer.ViewThumbnailsCommand.InputGestures.Add(new KeyGesture(Key.D5, ModifierKeys.Control));