2 types derived from DocumentViewerBase
PresentationFramework (2)
src\Framework\System\Windows\Controls\DocumentViewer.cs (1)
59public class DocumentViewer : DocumentViewerBase
src\Framework\System\Windows\Controls\SinglePageViewer.cs (1)
39public class FlowDocumentPageViewer : DocumentViewerBase, IJournalState
82 references to DocumentViewerBase
PresentationFramework (82)
src\Framework\MS\Internal\Annotations\Anchoring\TextSelectionHelper.cs (4)
198DocumentViewerBase documentViewerBase = parent as DocumentViewerBase; 528DocumentViewerBase viewer = PathNode.GetParent(idp as DependencyObject) as DocumentViewerBase;
src\Framework\MS\Internal\Documents\MultiPageTextView.cs (2)
42internal MultiPageTextView(DocumentViewerBase viewer, UIElement renderScope, ITextContainer textContainer) 1550private readonly DocumentViewerBase _viewer;
src\Framework\System\Windows\Annotations\AnnotationHelper.cs (10)
202DocumentViewerBase viewer = service.Root as DocumentViewerBase; 208viewer = GetFdrHost(fdr) as DocumentViewerBase; 473internal static DocumentPageView FindView(DocumentViewerBase viewer, int pageNb) 554private static bool AreAllPagesVisible(DocumentViewerBase viewer, int startPage, int endPage) 587DocumentViewerBase viewer = service.Root as DocumentViewerBase; 593viewer = GetFdrHost(fdr) as DocumentViewerBase; 1113DocumentViewerBase viewer = service.Root as DocumentViewerBase;
src\Framework\System\Windows\Annotations\AnnotationService.cs (22)
70CommandManager.RegisterClassCommandBinding(typeof(DocumentViewerBase), new CommandBinding(CreateHighlightCommand, AnnotationHelper.OnCreateHighlightCommand, AnnotationHelper.OnQueryCreateHighlightCommand)); 72CommandManager.RegisterClassCommandBinding(typeof(DocumentViewerBase), new CommandBinding(CreateTextStickyNoteCommand, AnnotationHelper.OnCreateTextStickyNoteCommand, AnnotationHelper.OnQueryCreateTextStickyNoteCommand)); 74CommandManager.RegisterClassCommandBinding(typeof(DocumentViewerBase), new CommandBinding(CreateInkStickyNoteCommand, AnnotationHelper.OnCreateInkStickyNoteCommand, AnnotationHelper.OnQueryCreateInkStickyNoteCommand)); 76CommandManager.RegisterClassCommandBinding(typeof(DocumentViewerBase), new CommandBinding(ClearHighlightsCommand, AnnotationHelper.OnClearHighlightsCommand, AnnotationHelper.OnQueryClearHighlightsCommand)); 78CommandManager.RegisterClassCommandBinding(typeof(DocumentViewerBase), new CommandBinding(DeleteStickyNotesCommand, AnnotationHelper.OnDeleteStickyNotesCommand, AnnotationHelper.OnQueryDeleteStickyNotesCommand)); 80CommandManager.RegisterClassCommandBinding(typeof(DocumentViewerBase), new CommandBinding(DeleteAnnotationsCommand, AnnotationHelper.OnDeleteAnnotationsCommand, AnnotationHelper.OnQueryDeleteAnnotationsCommand)); 113public AnnotationService(DocumentViewerBase viewer) 211DocumentViewerBase viewer = _root as DocumentViewerBase; 229_locatorManager.RegisterSelectionProcessor(new TextViewSelectionProcessor(), typeof(DocumentViewerBase)); 276DocumentViewerBase viewer; 315public static AnnotationService GetService(DocumentViewerBase viewer) 797DocumentViewerBase documentViewerBase; 1120static private void GetViewerAndDocument(DependencyObject root, out DocumentViewerBase documentViewerBase, out IDocumentPaginatorSource document) 1122documentViewerBase = root as DocumentViewerBase; 1136documentViewerBase = AnnotationHelper.GetFdrHost(reader) as DocumentViewerBase; 1600if (viewer is DocumentViewerBase) 1601isFlow = ((DocumentViewerBase)viewer).Document is FlowDocument; 1700private void RegisterOnDocumentViewer(DocumentViewerBase viewer) 1716private void UnregisterOnDocumentViewer(DocumentViewerBase viewer) 1737DocumentViewerBase viewer = sender as DocumentViewerBase;
src\Framework\System\Windows\Automation\Peers\DocumentViewerBaseAutomationPeer.cs (2)
26public DocumentViewerBaseAutomationPeer(DocumentViewerBase owner) 115IDocumentPaginatorSource document = ((DocumentViewerBase)Owner).Document;
src\Framework\System\Windows\Controls\Primitives\DocumentPageView.cs (8)
901DocumentViewerBase hostViewer; 903if (DocumentViewerBase.GetIsMasterPage(this)) 918private DocumentViewerBase GetHostViewer() 920DocumentViewerBase hostViewer = null; 927if (this.TemplatedParent is DocumentViewerBase) 929hostViewer = (DocumentViewerBase)this.TemplatedParent; 937if (visualParent is DocumentViewerBase) 939hostViewer = (DocumentViewerBase)visualParent;
src\Framework\System\Windows\Controls\Primitives\DocumentViewerBase.cs (27)
69EventManager.RegisterClassHandler(typeof(DocumentViewerBase), RequestBringIntoViewEvent, new RequestBringIntoViewEventHandler(HandleRequestBringIntoView)); 72TextBoxBase.AutoWordSelectionProperty.OverrideMetadata(typeof(DocumentViewerBase), new FrameworkPropertyMetadata(true)); 253typeof(DocumentViewerBase), 265typeof(DocumentViewerBase), 281typeof(DocumentViewerBase), 297typeof(DocumentViewerBase), 313typeof(DocumentViewerBase), 333typeof(DocumentViewerBase), 1418service.LocatorManager.RegisterSelectionProcessor(new TextViewSelectionProcessor(), typeof(DocumentViewerBase)); 1476CommandHelpers.RegisterCommandHandler(typeof(DocumentViewerBase), NavigationCommands.PreviousPage, 1480CommandHelpers.RegisterCommandHandler(typeof(DocumentViewerBase), NavigationCommands.NextPage, 1484CommandHelpers.RegisterCommandHandler(typeof(DocumentViewerBase), NavigationCommands.FirstPage, 1488CommandHelpers.RegisterCommandHandler(typeof(DocumentViewerBase), NavigationCommands.LastPage, 1492CommandHelpers.RegisterCommandHandler(typeof(DocumentViewerBase), NavigationCommands.GoToPage, 1496CommandHelpers.RegisterCommandHandler(typeof(DocumentViewerBase), ApplicationCommands.Print, 1500CommandHelpers.RegisterCommandHandler(typeof(DocumentViewerBase), ApplicationCommands.CancelPrint, 1504TextEditor.RegisterCommandHandlers(typeof(DocumentViewerBase), /*acceptsRichContent:*/true, /*readOnly:*/!IsEditingEnabled, /*registerEventListeners*/true); 1514DocumentViewerBase dv = target as DocumentViewerBase; 1544DocumentViewerBase dv = target as DocumentViewerBase; 1617if (sender != null && sender is DocumentViewerBase) 1619((DocumentViewerBase)sender).HandleRequestBringIntoView(args); 1628Invariant.Assert(d != null && d is DocumentViewerBase); 1629((DocumentViewerBase) d).DocumentChanged((IDocumentPaginatorSource) e.OldValue, (IDocumentPaginatorSource) e.NewValue); 1715internal BringIntoViewState(DocumentViewerBase source, ContentPosition contentPosition, DependencyObject targetObject, Rect targetRect) 1722internal DocumentViewerBase Source;
src\Framework\System\Windows\Markup\Baml2006\Baml2006KnownTypes.cs (1)
259case 167: t = () => typeof(DocumentViewerBase); break;
src\Framework\System\Windows\Markup\Baml2006\WpfGeneratedKnownProperties.cs (3)
2389Type type = typeof(System.Windows.Controls.Primitives.DocumentViewerBase); 2390DependencyProperty dp = System.Windows.Controls.Primitives.DocumentViewerBase.DocumentProperty; 2392this.GetXamlType(typeof(System.Windows.Controls.Primitives.DocumentViewerBase)), // DeclaringType
src\Framework\System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
3750typeof(System.Windows.Controls.Primitives.DocumentViewerBase),
src\Framework\System\Windows\Markup\KnownTypes.cs (2)
1763return System.Windows.Controls.Primitives.DocumentViewerBase.DocumentProperty; 5711case KnownElements.DocumentViewerBase: t = typeof(System.Windows.Controls.Primitives.DocumentViewerBase); break;