2 instantiations of FlowDocumentReader
PresentationFramework (2)
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
4701DefaultConstructor = delegate () { return new System.Windows.Controls.FlowDocumentReader(); },
System\Windows\Markup\KnownTypes.cs (1)
1266case KnownElements.FlowDocumentReader: o = new System.Windows.Controls.FlowDocumentReader(); break;
111 references to FlowDocumentReader
PresentationFramework (111)
System\Windows\Annotations\AnnotationHelper.cs (9)
185FlowDocumentReader fdr = service.Root as FlowDocumentReader; 569FlowDocumentReader fdr = service.Root as FlowDocumentReader; 654internal static object GetFdrHost(FlowDocumentReader fdr) 1041FlowDocumentReader reader = viewer as FlowDocumentReader; 1092FlowDocumentReader reader = service.Root as FlowDocumentReader;
System\Windows\Annotations\AnnotationService.cs (11)
70CommandManager.RegisterClassCommandBinding(typeof(FlowDocumentReader), new CommandBinding(CreateHighlightCommand, AnnotationHelper.OnCreateHighlightCommand, AnnotationHelper.OnQueryCreateHighlightCommand)); 72CommandManager.RegisterClassCommandBinding(typeof(FlowDocumentReader), new CommandBinding(CreateTextStickyNoteCommand, AnnotationHelper.OnCreateTextStickyNoteCommand, AnnotationHelper.OnQueryCreateTextStickyNoteCommand)); 74CommandManager.RegisterClassCommandBinding(typeof(FlowDocumentReader), new CommandBinding(CreateInkStickyNoteCommand, AnnotationHelper.OnCreateInkStickyNoteCommand, AnnotationHelper.OnQueryCreateInkStickyNoteCommand)); 76CommandManager.RegisterClassCommandBinding(typeof(FlowDocumentReader), new CommandBinding(ClearHighlightsCommand, AnnotationHelper.OnClearHighlightsCommand, AnnotationHelper.OnQueryClearHighlightsCommand)); 78CommandManager.RegisterClassCommandBinding(typeof(FlowDocumentReader), new CommandBinding(DeleteStickyNotesCommand, AnnotationHelper.OnDeleteStickyNotesCommand, AnnotationHelper.OnQueryDeleteStickyNotesCommand)); 80CommandManager.RegisterClassCommandBinding(typeof(FlowDocumentReader), new CommandBinding(DeleteAnnotationsCommand, AnnotationHelper.OnDeleteAnnotationsCommand, AnnotationHelper.OnQueryDeleteAnnotationsCommand)); 115public AnnotationService(FlowDocumentReader viewer) 301public static AnnotationService GetService(FlowDocumentReader reader) 1078FlowDocumentReader reader = root as FlowDocumentReader; 1545else if ((viewer is FlowDocumentScrollViewer) || (viewer is FlowDocumentReader))
System\Windows\Automation\Peers\FlowDocumentReaderAutomationPeer.cs (6)
25public FlowDocumentReaderAutomationPeer(FlowDocumentReader owner) 60FlowDocument document = ((FlowDocumentReader)Owner).Document; 114if (e.Property == FlowDocumentReader.IsPageViewEnabledProperty) 121else if (e.Property == FlowDocumentReader.IsTwoPageViewEnabledProperty) 185private FlowDocumentReader FlowDocumentReader 187get { return (FlowDocumentReader)Owner; }
System\Windows\Controls\FlowDocumentReader.cs (77)
47typeof(FlowDocumentReader), 50_dType = DependencyObjectType.FromSystemTypeInternal(typeof(FlowDocumentReader)); 52TextBoxBase.SelectionBrushProperty.OverrideMetadata(typeof(FlowDocumentReader), 54TextBoxBase.SelectionOpacityProperty.OverrideMetadata(typeof(FlowDocumentReader), 59EventManager.RegisterClassHandler(typeof(FlowDocumentReader), Keyboard.KeyDownEvent, new KeyEventHandler(KeyDownHandler), true); 404typeof(FlowDocumentReader), 418typeof(FlowDocumentReader), 430typeof(FlowDocumentReader), 442typeof(FlowDocumentReader), 454typeof(FlowDocumentReader), 469typeof(FlowDocumentReader), 483typeof(FlowDocumentReader), 498typeof(FlowDocumentReader), 513typeof(FlowDocumentReader), 525typeof(FlowDocumentReader), 537typeof(FlowDocumentReader), 547typeof(FlowDocumentReader), 558typeof(FlowDocumentReader), 569typeof(FlowDocumentReader), 579typeof(FlowDocumentReader)); 588typeof(FlowDocumentReader), 603typeof(FlowDocumentReader), 615TextBoxBase.SelectionBrushProperty.AddOwner(typeof(FlowDocumentReader)); 621TextBoxBase.SelectionOpacityProperty.AddOwner(typeof(FlowDocumentReader)); 627TextBoxBase.IsSelectionActiveProperty.AddOwner(typeof(FlowDocumentReader)); 633TextBoxBase.IsInactiveSelectionHighlightEnabledProperty.AddOwner(typeof(FlowDocumentReader)); 650public static readonly RoutedUICommand SwitchViewingModeCommand = new RoutedUICommand(Switch_ViewingMode, "SwitchViewingMode", typeof(FlowDocumentReader), null); 1320CommandHelpers.RegisterCommandHandler(typeof(FlowDocumentReader), FlowDocumentReader.SwitchViewingModeCommand, 1324CommandHelpers.RegisterCommandHandler(typeof(FlowDocumentReader), ApplicationCommands.Find, 1328CommandHelpers.RegisterCommandHandler(typeof(FlowDocumentReader), ApplicationCommands.Print, 1332CommandHelpers.RegisterCommandHandler(typeof(FlowDocumentReader), ApplicationCommands.CancelPrint, 1336CommandHelpers.RegisterCommandHandler(typeof(FlowDocumentReader), NavigationCommands.PreviousPage, 1340CommandHelpers.RegisterCommandHandler(typeof(FlowDocumentReader), NavigationCommands.NextPage, 1344CommandHelpers.RegisterCommandHandler(typeof(FlowDocumentReader), NavigationCommands.FirstPage, 1348CommandHelpers.RegisterCommandHandler(typeof(FlowDocumentReader), NavigationCommands.LastPage, 1352CommandHelpers.RegisterCommandHandler(typeof(FlowDocumentReader), NavigationCommands.IncreaseZoom, 1356CommandHelpers.RegisterCommandHandler(typeof(FlowDocumentReader), NavigationCommands.DecreaseZoom, 1367FlowDocumentReader viewer = target as FlowDocumentReader; 1381if (args.Command == FlowDocumentReader.SwitchViewingModeCommand) 1425FlowDocumentReader viewer = target as FlowDocumentReader; 1429if (args.Command == FlowDocumentReader.SwitchViewingModeCommand) 1597DocumentViewerHelper.KeyDownHelper(e, ((FlowDocumentReader)sender)._findToolBarHost); 1609Invariant.Assert(d != null && d is FlowDocumentReader); 1610FlowDocumentReader viewer = (FlowDocumentReader)d; 1641Invariant.Assert(d != null && d is FlowDocumentReader); 1642FlowDocumentReader viewer = (FlowDocumentReader)d; 1668Invariant.Assert(d != null && d is FlowDocumentReader); 1669FlowDocumentReader viewer = (FlowDocumentReader)d; 1689Invariant.Assert(d != null && d is FlowDocumentReader); 1690FlowDocumentReader viewer = (FlowDocumentReader)d; 1701Invariant.Assert(d != null && d is FlowDocumentReader); 1702FlowDocumentReader viewer = (FlowDocumentReader)d; 1714Invariant.Assert(d != null && d is FlowDocumentReader); 1715FlowDocumentReader viewer = (FlowDocumentReader)d; 1729Invariant.Assert(d != null && d is FlowDocumentReader); 1730FlowDocumentReader viewer = (FlowDocumentReader)d; 1754Invariant.Assert(d != null && d is FlowDocumentReader); 1755FlowDocumentReader viewer = (FlowDocumentReader)d; 1766Invariant.Assert(d != null && d is FlowDocumentReader); 1767FlowDocumentReader viewer = (FlowDocumentReader)d; 1778Invariant.Assert(d != null && d is FlowDocumentReader); 1779FlowDocumentReader viewer = (FlowDocumentReader)d; 1802FlowDocumentReader reader = (FlowDocumentReader)d;
System\windows\Documents\CaretElement.cs (1)
843if (node is FlowDocumentReader)
System\Windows\Markup\Baml2006\Baml2006KnownTypes.cs (1)
305case 211: t = () => typeof(FlowDocumentReader); break;
System\Windows\Markup\Baml2006\WpfGeneratedKnownProperties.cs (3)
2491Type type = typeof(System.Windows.Controls.FlowDocumentReader); 2492DependencyProperty dp = System.Windows.Controls.FlowDocumentReader.DocumentProperty; 2494this.GetXamlType(typeof(System.Windows.Controls.FlowDocumentReader)), // DeclaringType
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
4698typeof(System.Windows.Controls.FlowDocumentReader),
System\Windows\Markup\KnownTypes.cs (2)
1760return System.Windows.Controls.FlowDocumentReader.DocumentProperty; 5759case KnownElements.FlowDocumentReader: t = typeof(System.Windows.Controls.FlowDocumentReader); break;