2 types derived from DocumentViewerBase
PresentationFramework (2)
System\Windows\Controls\DocumentViewer.cs (1)
33public class DocumentViewer : DocumentViewerBase
System\Windows\Controls\SinglePageViewer.cs (1)
33public class FlowDocumentPageViewer : DocumentViewerBase, IJournalState
82 references to DocumentViewerBase
PresentationFramework (82)
MS\Internal\Annotations\Anchoring\TextSelectionHelper.cs (4)
182DocumentViewerBase documentViewerBase = parent as DocumentViewerBase; 508DocumentViewerBase viewer = PathNode.GetParent(idp as DependencyObject) as DocumentViewerBase;
MS\Internal\Documents\MultiPageTextView.cs (2)
37internal MultiPageTextView(DocumentViewerBase viewer, UIElement renderScope, ITextContainer textContainer) 1542private readonly DocumentViewerBase _viewer;
System\Windows\Annotations\AnnotationHelper.cs (10)
181DocumentViewerBase viewer = service.Root as DocumentViewerBase; 187viewer = GetFdrHost(fdr) as DocumentViewerBase; 451internal static DocumentPageView FindView(DocumentViewerBase viewer, int pageNb) 532private static bool AreAllPagesVisible(DocumentViewerBase viewer, int startPage, int endPage) 565DocumentViewerBase viewer = service.Root as DocumentViewerBase; 571viewer = GetFdrHost(fdr) as DocumentViewerBase; 1087DocumentViewerBase viewer = service.Root as DocumentViewerBase;
System\Windows\Annotations\AnnotationService.cs (22)
45CommandManager.RegisterClassCommandBinding(typeof(DocumentViewerBase), new CommandBinding(CreateHighlightCommand, AnnotationHelper.OnCreateHighlightCommand, AnnotationHelper.OnQueryCreateHighlightCommand)); 47CommandManager.RegisterClassCommandBinding(typeof(DocumentViewerBase), new CommandBinding(CreateTextStickyNoteCommand, AnnotationHelper.OnCreateTextStickyNoteCommand, AnnotationHelper.OnQueryCreateTextStickyNoteCommand)); 49CommandManager.RegisterClassCommandBinding(typeof(DocumentViewerBase), new CommandBinding(CreateInkStickyNoteCommand, AnnotationHelper.OnCreateInkStickyNoteCommand, AnnotationHelper.OnQueryCreateInkStickyNoteCommand)); 51CommandManager.RegisterClassCommandBinding(typeof(DocumentViewerBase), new CommandBinding(ClearHighlightsCommand, AnnotationHelper.OnClearHighlightsCommand, AnnotationHelper.OnQueryClearHighlightsCommand)); 53CommandManager.RegisterClassCommandBinding(typeof(DocumentViewerBase), new CommandBinding(DeleteStickyNotesCommand, AnnotationHelper.OnDeleteStickyNotesCommand, AnnotationHelper.OnQueryDeleteStickyNotesCommand)); 55CommandManager.RegisterClassCommandBinding(typeof(DocumentViewerBase), new CommandBinding(DeleteAnnotationsCommand, AnnotationHelper.OnDeleteAnnotationsCommand, AnnotationHelper.OnQueryDeleteAnnotationsCommand)); 88public AnnotationService(DocumentViewerBase viewer) 181DocumentViewerBase viewer = _root as DocumentViewerBase; 199_locatorManager.RegisterSelectionProcessor(new TextViewSelectionProcessor(), typeof(DocumentViewerBase)); 246DocumentViewerBase viewer; 285public static AnnotationService GetService(DocumentViewerBase viewer) 747DocumentViewerBase documentViewerBase; 1064private static void GetViewerAndDocument(DependencyObject root, out DocumentViewerBase documentViewerBase, out IDocumentPaginatorSource document) 1066documentViewerBase = root as DocumentViewerBase; 1080documentViewerBase = AnnotationHelper.GetFdrHost(reader) as DocumentViewerBase; 1542if (viewer is DocumentViewerBase) 1543isFlow = ((DocumentViewerBase)viewer).Document is FlowDocument; 1642private void RegisterOnDocumentViewer(DocumentViewerBase viewer) 1658private void UnregisterOnDocumentViewer(DocumentViewerBase viewer) 1679DocumentViewerBase viewer = sender as DocumentViewerBase;
System\Windows\Automation\Peers\DocumentViewerBaseAutomationPeer.cs (2)
22public DocumentViewerBaseAutomationPeer(DocumentViewerBase owner) 108IDocumentPaginatorSource document = ((DocumentViewerBase)Owner).Document;
System\Windows\Controls\Primitives\DocumentPageView.cs (8)
885DocumentViewerBase hostViewer; 887if (DocumentViewerBase.GetIsMasterPage(this)) 902private DocumentViewerBase GetHostViewer() 904DocumentViewerBase hostViewer = null; 911if (this.TemplatedParent is DocumentViewerBase) 913hostViewer = (DocumentViewerBase)this.TemplatedParent; 921if (visualParent is DocumentViewerBase) 923hostViewer = (DocumentViewerBase)visualParent;
System\Windows\Controls\Primitives\DocumentViewerBase.cs (27)
49EventManager.RegisterClassHandler(typeof(DocumentViewerBase), RequestBringIntoViewEvent, new RequestBringIntoViewEventHandler(HandleRequestBringIntoView)); 52TextBoxBase.AutoWordSelectionProperty.OverrideMetadata(typeof(DocumentViewerBase), new FrameworkPropertyMetadata(true)); 233typeof(DocumentViewerBase), 245typeof(DocumentViewerBase), 261typeof(DocumentViewerBase), 277typeof(DocumentViewerBase), 293typeof(DocumentViewerBase), 313typeof(DocumentViewerBase), 1375service.LocatorManager.RegisterSelectionProcessor(new TextViewSelectionProcessor(), typeof(DocumentViewerBase)); 1430CommandHelpers.RegisterCommandHandler(typeof(DocumentViewerBase), NavigationCommands.PreviousPage, 1434CommandHelpers.RegisterCommandHandler(typeof(DocumentViewerBase), NavigationCommands.NextPage, 1438CommandHelpers.RegisterCommandHandler(typeof(DocumentViewerBase), NavigationCommands.FirstPage, 1442CommandHelpers.RegisterCommandHandler(typeof(DocumentViewerBase), NavigationCommands.LastPage, 1446CommandHelpers.RegisterCommandHandler(typeof(DocumentViewerBase), NavigationCommands.GoToPage, 1450CommandHelpers.RegisterCommandHandler(typeof(DocumentViewerBase), ApplicationCommands.Print, 1454CommandHelpers.RegisterCommandHandler(typeof(DocumentViewerBase), ApplicationCommands.CancelPrint, 1458TextEditor.RegisterCommandHandlers(typeof(DocumentViewerBase), /*acceptsRichContent:*/true, /*readOnly:*/!IsEditingEnabled, /*registerEventListeners*/true); 1468DocumentViewerBase dv = target as DocumentViewerBase; 1498DocumentViewerBase dv = target as DocumentViewerBase; 1569if (sender != null && sender is DocumentViewerBase) 1571((DocumentViewerBase)sender).HandleRequestBringIntoView(args); 1580Invariant.Assert(d != null && d is DocumentViewerBase); 1581((DocumentViewerBase) d).DocumentChanged((IDocumentPaginatorSource) e.OldValue, (IDocumentPaginatorSource) e.NewValue); 1667internal BringIntoViewState(DocumentViewerBase source, ContentPosition contentPosition, DependencyObject targetObject, Rect targetRect) 1674internal DocumentViewerBase Source;
System\Windows\Markup\Baml2006\Baml2006KnownTypes.cs (1)
260case 167: t = () => typeof(DocumentViewerBase); break;
System\Windows\Markup\Baml2006\WpfGeneratedKnownProperties.cs (3)
2458Type type = typeof(System.Windows.Controls.Primitives.DocumentViewerBase); 2459DependencyProperty dp = System.Windows.Controls.Primitives.DocumentViewerBase.DocumentProperty; 2461this.GetXamlType(typeof(System.Windows.Controls.Primitives.DocumentViewerBase)), // DeclaringType
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
4029typeof(System.Windows.Controls.Primitives.DocumentViewerBase),
System\Windows\Markup\KnownTypes.cs (2)
1755return System.Windows.Controls.Primitives.DocumentViewerBase.DocumentProperty; 5714case KnownElements.DocumentViewerBase: t = typeof(System.Windows.Controls.Primitives.DocumentViewerBase); break;