2 types derived from DocumentViewerBase
PresentationFramework (2)
System\Windows\Controls\DocumentViewer.cs (1)
34public class DocumentViewer : DocumentViewerBase
System\Windows\Controls\SinglePageViewer.cs (1)
34public class FlowDocumentPageViewer : DocumentViewerBase, IJournalState
82 references to DocumentViewerBase
PresentationFramework (82)
MS\Internal\Annotations\Anchoring\TextSelectionHelper.cs (4)
183DocumentViewerBase documentViewerBase = parent as DocumentViewerBase; 509DocumentViewerBase viewer = PathNode.GetParent(idp as DependencyObject) as DocumentViewerBase;
MS\Internal\Documents\MultiPageTextView.cs (2)
38internal MultiPageTextView(DocumentViewerBase viewer, UIElement renderScope, ITextContainer textContainer) 1543private readonly DocumentViewerBase _viewer;
System\Windows\Annotations\AnnotationHelper.cs (10)
182DocumentViewerBase viewer = service.Root as DocumentViewerBase; 188viewer = GetFdrHost(fdr) as DocumentViewerBase; 452internal static DocumentPageView FindView(DocumentViewerBase viewer, int pageNb) 533private static bool AreAllPagesVisible(DocumentViewerBase viewer, int startPage, int endPage) 566DocumentViewerBase viewer = service.Root as DocumentViewerBase; 572viewer = GetFdrHost(fdr) as DocumentViewerBase; 1088DocumentViewerBase viewer = service.Root as DocumentViewerBase;
System\Windows\Annotations\AnnotationService.cs (22)
46CommandManager.RegisterClassCommandBinding(typeof(DocumentViewerBase), new CommandBinding(CreateHighlightCommand, AnnotationHelper.OnCreateHighlightCommand, AnnotationHelper.OnQueryCreateHighlightCommand)); 48CommandManager.RegisterClassCommandBinding(typeof(DocumentViewerBase), new CommandBinding(CreateTextStickyNoteCommand, AnnotationHelper.OnCreateTextStickyNoteCommand, AnnotationHelper.OnQueryCreateTextStickyNoteCommand)); 50CommandManager.RegisterClassCommandBinding(typeof(DocumentViewerBase), new CommandBinding(CreateInkStickyNoteCommand, AnnotationHelper.OnCreateInkStickyNoteCommand, AnnotationHelper.OnQueryCreateInkStickyNoteCommand)); 52CommandManager.RegisterClassCommandBinding(typeof(DocumentViewerBase), new CommandBinding(ClearHighlightsCommand, AnnotationHelper.OnClearHighlightsCommand, AnnotationHelper.OnQueryClearHighlightsCommand)); 54CommandManager.RegisterClassCommandBinding(typeof(DocumentViewerBase), new CommandBinding(DeleteStickyNotesCommand, AnnotationHelper.OnDeleteStickyNotesCommand, AnnotationHelper.OnQueryDeleteStickyNotesCommand)); 56CommandManager.RegisterClassCommandBinding(typeof(DocumentViewerBase), new CommandBinding(DeleteAnnotationsCommand, AnnotationHelper.OnDeleteAnnotationsCommand, AnnotationHelper.OnQueryDeleteAnnotationsCommand)); 89public AnnotationService(DocumentViewerBase viewer) 182DocumentViewerBase viewer = _root as DocumentViewerBase; 200_locatorManager.RegisterSelectionProcessor(new TextViewSelectionProcessor(), typeof(DocumentViewerBase)); 247DocumentViewerBase viewer; 286public static AnnotationService GetService(DocumentViewerBase viewer) 748DocumentViewerBase documentViewerBase; 1065static private void GetViewerAndDocument(DependencyObject root, out DocumentViewerBase documentViewerBase, out IDocumentPaginatorSource document) 1067documentViewerBase = root as DocumentViewerBase; 1081documentViewerBase = AnnotationHelper.GetFdrHost(reader) as DocumentViewerBase; 1543if (viewer is DocumentViewerBase) 1544isFlow = ((DocumentViewerBase)viewer).Document is FlowDocument; 1643private void RegisterOnDocumentViewer(DocumentViewerBase viewer) 1659private void UnregisterOnDocumentViewer(DocumentViewerBase viewer) 1680DocumentViewerBase viewer = sender as DocumentViewerBase;
System\Windows\Automation\Peers\DocumentViewerBaseAutomationPeer.cs (2)
23public DocumentViewerBaseAutomationPeer(DocumentViewerBase owner) 112IDocumentPaginatorSource document = ((DocumentViewerBase)Owner).Document;
System\Windows\Controls\Primitives\DocumentPageView.cs (8)
892DocumentViewerBase hostViewer; 894if (DocumentViewerBase.GetIsMasterPage(this)) 909private DocumentViewerBase GetHostViewer() 911DocumentViewerBase hostViewer = null; 918if (this.TemplatedParent is DocumentViewerBase) 920hostViewer = (DocumentViewerBase)this.TemplatedParent; 928if (visualParent is DocumentViewerBase) 930hostViewer = (DocumentViewerBase)visualParent;
System\Windows\Controls\Primitives\DocumentViewerBase.cs (27)
50EventManager.RegisterClassHandler(typeof(DocumentViewerBase), RequestBringIntoViewEvent, new RequestBringIntoViewEventHandler(HandleRequestBringIntoView)); 53TextBoxBase.AutoWordSelectionProperty.OverrideMetadata(typeof(DocumentViewerBase), new FrameworkPropertyMetadata(true)); 234typeof(DocumentViewerBase), 246typeof(DocumentViewerBase), 262typeof(DocumentViewerBase), 278typeof(DocumentViewerBase), 294typeof(DocumentViewerBase), 314typeof(DocumentViewerBase), 1391service.LocatorManager.RegisterSelectionProcessor(new TextViewSelectionProcessor(), typeof(DocumentViewerBase)); 1449CommandHelpers.RegisterCommandHandler(typeof(DocumentViewerBase), NavigationCommands.PreviousPage, 1453CommandHelpers.RegisterCommandHandler(typeof(DocumentViewerBase), NavigationCommands.NextPage, 1457CommandHelpers.RegisterCommandHandler(typeof(DocumentViewerBase), NavigationCommands.FirstPage, 1461CommandHelpers.RegisterCommandHandler(typeof(DocumentViewerBase), NavigationCommands.LastPage, 1465CommandHelpers.RegisterCommandHandler(typeof(DocumentViewerBase), NavigationCommands.GoToPage, 1469CommandHelpers.RegisterCommandHandler(typeof(DocumentViewerBase), ApplicationCommands.Print, 1473CommandHelpers.RegisterCommandHandler(typeof(DocumentViewerBase), ApplicationCommands.CancelPrint, 1477TextEditor.RegisterCommandHandlers(typeof(DocumentViewerBase), /*acceptsRichContent:*/true, /*readOnly:*/!IsEditingEnabled, /*registerEventListeners*/true); 1487DocumentViewerBase dv = target as DocumentViewerBase; 1517DocumentViewerBase dv = target as DocumentViewerBase; 1588if (sender != null && sender is DocumentViewerBase) 1590((DocumentViewerBase)sender).HandleRequestBringIntoView(args); 1599Invariant.Assert(d != null && d is DocumentViewerBase); 1600((DocumentViewerBase) d).DocumentChanged((IDocumentPaginatorSource) e.OldValue, (IDocumentPaginatorSource) e.NewValue); 1686internal BringIntoViewState(DocumentViewerBase source, ContentPosition contentPosition, DependencyObject targetObject, Rect targetRect) 1693internal DocumentViewerBase Source;
System\Windows\Markup\Baml2006\Baml2006KnownTypes.cs (1)
261case 167: t = () => typeof(DocumentViewerBase); break;
System\Windows\Markup\Baml2006\WpfGeneratedKnownProperties.cs (3)
2459Type type = typeof(System.Windows.Controls.Primitives.DocumentViewerBase); 2460DependencyProperty dp = System.Windows.Controls.Primitives.DocumentViewerBase.DocumentProperty; 2462this.GetXamlType(typeof(System.Windows.Controls.Primitives.DocumentViewerBase)), // DeclaringType
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
4030typeof(System.Windows.Controls.Primitives.DocumentViewerBase),
System\Windows\Markup\KnownTypes.cs (2)
1756return System.Windows.Controls.Primitives.DocumentViewerBase.DocumentProperty; 5715case KnownElements.DocumentViewerBase: t = typeof(System.Windows.Controls.Primitives.DocumentViewerBase); break;