2 instantiations of FlowDocumentReader
PresentationFramework (2)
src\Framework\System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
4342bamlType.DefaultConstructor = delegate() { return new System.Windows.Controls.FlowDocumentReader(); };
src\Framework\System\Windows\Markup\KnownTypes.cs (1)
1273case KnownElements.FlowDocumentReader: o = new System.Windows.Controls.FlowDocumentReader(); break;
111 references to FlowDocumentReader
PresentationFramework (111)
src\Framework\System\Windows\Annotations\AnnotationHelper.cs (9)
205FlowDocumentReader fdr = service.Root as FlowDocumentReader; 590FlowDocumentReader fdr = service.Root as FlowDocumentReader; 675internal static object GetFdrHost(FlowDocumentReader fdr) 1063FlowDocumentReader reader = viewer as FlowDocumentReader; 1117FlowDocumentReader reader = service.Root as FlowDocumentReader;
src\Framework\System\Windows\Annotations\AnnotationService.cs (11)
94CommandManager.RegisterClassCommandBinding(typeof(FlowDocumentReader), new CommandBinding(CreateHighlightCommand, AnnotationHelper.OnCreateHighlightCommand, AnnotationHelper.OnQueryCreateHighlightCommand)); 96CommandManager.RegisterClassCommandBinding(typeof(FlowDocumentReader), new CommandBinding(CreateTextStickyNoteCommand, AnnotationHelper.OnCreateTextStickyNoteCommand, AnnotationHelper.OnQueryCreateTextStickyNoteCommand)); 98CommandManager.RegisterClassCommandBinding(typeof(FlowDocumentReader), new CommandBinding(CreateInkStickyNoteCommand, AnnotationHelper.OnCreateInkStickyNoteCommand, AnnotationHelper.OnQueryCreateInkStickyNoteCommand)); 100CommandManager.RegisterClassCommandBinding(typeof(FlowDocumentReader), new CommandBinding(ClearHighlightsCommand, AnnotationHelper.OnClearHighlightsCommand, AnnotationHelper.OnQueryClearHighlightsCommand)); 102CommandManager.RegisterClassCommandBinding(typeof(FlowDocumentReader), new CommandBinding(DeleteStickyNotesCommand, AnnotationHelper.OnDeleteStickyNotesCommand, AnnotationHelper.OnQueryDeleteStickyNotesCommand)); 104CommandManager.RegisterClassCommandBinding(typeof(FlowDocumentReader), new CommandBinding(DeleteAnnotationsCommand, AnnotationHelper.OnDeleteAnnotationsCommand, AnnotationHelper.OnQueryDeleteAnnotationsCommand)); 141public AnnotationService(FlowDocumentReader viewer) 331public static AnnotationService GetService(FlowDocumentReader reader) 1133FlowDocumentReader reader = root as FlowDocumentReader; 1602else if ((viewer is FlowDocumentScrollViewer) || (viewer is FlowDocumentReader))
src\Framework\System\Windows\Automation\Peers\FlowDocumentReaderAutomationPeer.cs (6)
28public FlowDocumentReaderAutomationPeer(FlowDocumentReader owner) 63FlowDocument document = ((FlowDocumentReader)Owner).Document; 120if (e.Property == FlowDocumentReader.IsPageViewEnabledProperty) 127else if (e.Property == FlowDocumentReader.IsTwoPageViewEnabledProperty) 191private FlowDocumentReader FlowDocumentReader 193get { return (FlowDocumentReader)Owner; }
src\Framework\System\Windows\Controls\FlowDocumentReader.cs (77)
53typeof(FlowDocumentReader), 56_dType = DependencyObjectType.FromSystemTypeInternal(typeof(FlowDocumentReader)); 58TextBoxBase.SelectionBrushProperty.OverrideMetadata(typeof(FlowDocumentReader), 60TextBoxBase.SelectionOpacityProperty.OverrideMetadata(typeof(FlowDocumentReader), 65EventManager.RegisterClassHandler(typeof(FlowDocumentReader), Keyboard.KeyDownEvent, new KeyEventHandler(KeyDownHandler), true); 410typeof(FlowDocumentReader), 424typeof(FlowDocumentReader), 436typeof(FlowDocumentReader), 448typeof(FlowDocumentReader), 460typeof(FlowDocumentReader), 475typeof(FlowDocumentReader), 489typeof(FlowDocumentReader), 504typeof(FlowDocumentReader), 519typeof(FlowDocumentReader), 531typeof(FlowDocumentReader), 543typeof(FlowDocumentReader), 553typeof(FlowDocumentReader), 564typeof(FlowDocumentReader), 575typeof(FlowDocumentReader), 585typeof(FlowDocumentReader)); 594typeof(FlowDocumentReader), 609typeof(FlowDocumentReader), 621TextBoxBase.SelectionBrushProperty.AddOwner(typeof(FlowDocumentReader)); 627TextBoxBase.SelectionOpacityProperty.AddOwner(typeof(FlowDocumentReader)); 633TextBoxBase.IsSelectionActiveProperty.AddOwner(typeof(FlowDocumentReader)); 639TextBoxBase.IsInactiveSelectionHighlightEnabledProperty.AddOwner(typeof(FlowDocumentReader)); 656public static readonly RoutedUICommand SwitchViewingModeCommand = new RoutedUICommand(SR.Get(SRID.SwitchViewingMode), "SwitchViewingMode", typeof(FlowDocumentReader), null); 1342CommandHelpers.RegisterCommandHandler(typeof(FlowDocumentReader), FlowDocumentReader.SwitchViewingModeCommand, 1346CommandHelpers.RegisterCommandHandler(typeof(FlowDocumentReader), ApplicationCommands.Find, 1350CommandHelpers.RegisterCommandHandler(typeof(FlowDocumentReader), ApplicationCommands.Print, 1354CommandHelpers.RegisterCommandHandler(typeof(FlowDocumentReader), ApplicationCommands.CancelPrint, 1358CommandHelpers.RegisterCommandHandler(typeof(FlowDocumentReader), NavigationCommands.PreviousPage, 1362CommandHelpers.RegisterCommandHandler(typeof(FlowDocumentReader), NavigationCommands.NextPage, 1366CommandHelpers.RegisterCommandHandler(typeof(FlowDocumentReader), NavigationCommands.FirstPage, 1370CommandHelpers.RegisterCommandHandler(typeof(FlowDocumentReader), NavigationCommands.LastPage, 1374CommandHelpers.RegisterCommandHandler(typeof(FlowDocumentReader), NavigationCommands.IncreaseZoom, 1378CommandHelpers.RegisterCommandHandler(typeof(FlowDocumentReader), NavigationCommands.DecreaseZoom, 1389FlowDocumentReader viewer = target as FlowDocumentReader; 1403if (args.Command == FlowDocumentReader.SwitchViewingModeCommand) 1447FlowDocumentReader viewer = target as FlowDocumentReader; 1451if (args.Command == FlowDocumentReader.SwitchViewingModeCommand) 1634DocumentViewerHelper.KeyDownHelper(e, ((FlowDocumentReader)sender)._findToolBarHost); 1646Invariant.Assert(d != null && d is FlowDocumentReader); 1647FlowDocumentReader viewer = (FlowDocumentReader)d; 1681Invariant.Assert(d != null && d is FlowDocumentReader); 1682FlowDocumentReader viewer = (FlowDocumentReader)d; 1711Invariant.Assert(d != null && d is FlowDocumentReader); 1712FlowDocumentReader viewer = (FlowDocumentReader)d; 1732Invariant.Assert(d != null && d is FlowDocumentReader); 1733FlowDocumentReader viewer = (FlowDocumentReader)d; 1744Invariant.Assert(d != null && d is FlowDocumentReader); 1745FlowDocumentReader viewer = (FlowDocumentReader)d; 1757Invariant.Assert(d != null && d is FlowDocumentReader); 1758FlowDocumentReader viewer = (FlowDocumentReader)d; 1772Invariant.Assert(d != null && d is FlowDocumentReader); 1773FlowDocumentReader viewer = (FlowDocumentReader)d; 1797Invariant.Assert(d != null && d is FlowDocumentReader); 1798FlowDocumentReader viewer = (FlowDocumentReader)d; 1809Invariant.Assert(d != null && d is FlowDocumentReader); 1810FlowDocumentReader viewer = (FlowDocumentReader)d; 1821Invariant.Assert(d != null && d is FlowDocumentReader); 1822FlowDocumentReader viewer = (FlowDocumentReader)d; 1845FlowDocumentReader reader = (FlowDocumentReader)d;
src\Framework\System\windows\Documents\CaretElement.cs (1)
849if (node is FlowDocumentReader)
src\Framework\System\Windows\Markup\Baml2006\Baml2006KnownTypes.cs (1)
303case 211: t = () => typeof(FlowDocumentReader); break;
src\Framework\System\Windows\Markup\Baml2006\WpfGeneratedKnownProperties.cs (3)
2421Type type = typeof(System.Windows.Controls.FlowDocumentReader); 2422DependencyProperty dp = System.Windows.Controls.FlowDocumentReader.DocumentProperty; 2424this.GetXamlType(typeof(System.Windows.Controls.FlowDocumentReader)), // DeclaringType
src\Framework\System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
4340typeof(System.Windows.Controls.FlowDocumentReader),
src\Framework\System\Windows\Markup\KnownTypes.cs (2)
1767return System.Windows.Controls.FlowDocumentReader.DocumentProperty; 5755case KnownElements.FlowDocumentReader: t = typeof(System.Windows.Controls.FlowDocumentReader); break;