2 instantiations of FlowDocumentReader
PresentationFramework (2)
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
4700DefaultConstructor = delegate () { return new System.Windows.Controls.FlowDocumentReader(); },
System\Windows\Markup\KnownTypes.cs (1)
1265case KnownElements.FlowDocumentReader: o = new System.Windows.Controls.FlowDocumentReader(); break;
111 references to FlowDocumentReader
PresentationFramework (111)
System\Windows\Annotations\AnnotationHelper.cs (9)
184FlowDocumentReader fdr = service.Root as FlowDocumentReader; 568FlowDocumentReader fdr = service.Root as FlowDocumentReader; 653internal static object GetFdrHost(FlowDocumentReader fdr) 1040FlowDocumentReader reader = viewer as FlowDocumentReader; 1091FlowDocumentReader reader = service.Root as FlowDocumentReader;
System\Windows\Annotations\AnnotationService.cs (11)
69CommandManager.RegisterClassCommandBinding(typeof(FlowDocumentReader), new CommandBinding(CreateHighlightCommand, AnnotationHelper.OnCreateHighlightCommand, AnnotationHelper.OnQueryCreateHighlightCommand)); 71CommandManager.RegisterClassCommandBinding(typeof(FlowDocumentReader), new CommandBinding(CreateTextStickyNoteCommand, AnnotationHelper.OnCreateTextStickyNoteCommand, AnnotationHelper.OnQueryCreateTextStickyNoteCommand)); 73CommandManager.RegisterClassCommandBinding(typeof(FlowDocumentReader), new CommandBinding(CreateInkStickyNoteCommand, AnnotationHelper.OnCreateInkStickyNoteCommand, AnnotationHelper.OnQueryCreateInkStickyNoteCommand)); 75CommandManager.RegisterClassCommandBinding(typeof(FlowDocumentReader), new CommandBinding(ClearHighlightsCommand, AnnotationHelper.OnClearHighlightsCommand, AnnotationHelper.OnQueryClearHighlightsCommand)); 77CommandManager.RegisterClassCommandBinding(typeof(FlowDocumentReader), new CommandBinding(DeleteStickyNotesCommand, AnnotationHelper.OnDeleteStickyNotesCommand, AnnotationHelper.OnQueryDeleteStickyNotesCommand)); 79CommandManager.RegisterClassCommandBinding(typeof(FlowDocumentReader), new CommandBinding(DeleteAnnotationsCommand, AnnotationHelper.OnDeleteAnnotationsCommand, AnnotationHelper.OnQueryDeleteAnnotationsCommand)); 114public AnnotationService(FlowDocumentReader viewer) 300public static AnnotationService GetService(FlowDocumentReader reader) 1077FlowDocumentReader reader = root as FlowDocumentReader; 1544else if ((viewer is FlowDocumentScrollViewer) || (viewer is FlowDocumentReader))
System\Windows\Automation\Peers\FlowDocumentReaderAutomationPeer.cs (6)
24public FlowDocumentReaderAutomationPeer(FlowDocumentReader owner) 59FlowDocument document = ((FlowDocumentReader)Owner).Document; 113if (e.Property == FlowDocumentReader.IsPageViewEnabledProperty) 120else if (e.Property == FlowDocumentReader.IsTwoPageViewEnabledProperty) 184private FlowDocumentReader FlowDocumentReader 186get { return (FlowDocumentReader)Owner; }
System\Windows\Controls\FlowDocumentReader.cs (77)
46typeof(FlowDocumentReader), 49_dType = DependencyObjectType.FromSystemTypeInternal(typeof(FlowDocumentReader)); 51TextBoxBase.SelectionBrushProperty.OverrideMetadata(typeof(FlowDocumentReader), 53TextBoxBase.SelectionOpacityProperty.OverrideMetadata(typeof(FlowDocumentReader), 58EventManager.RegisterClassHandler(typeof(FlowDocumentReader), Keyboard.KeyDownEvent, new KeyEventHandler(KeyDownHandler), true); 403typeof(FlowDocumentReader), 417typeof(FlowDocumentReader), 429typeof(FlowDocumentReader), 441typeof(FlowDocumentReader), 453typeof(FlowDocumentReader), 468typeof(FlowDocumentReader), 482typeof(FlowDocumentReader), 497typeof(FlowDocumentReader), 512typeof(FlowDocumentReader), 524typeof(FlowDocumentReader), 536typeof(FlowDocumentReader), 546typeof(FlowDocumentReader), 557typeof(FlowDocumentReader), 568typeof(FlowDocumentReader), 578typeof(FlowDocumentReader)); 587typeof(FlowDocumentReader), 602typeof(FlowDocumentReader), 614TextBoxBase.SelectionBrushProperty.AddOwner(typeof(FlowDocumentReader)); 620TextBoxBase.SelectionOpacityProperty.AddOwner(typeof(FlowDocumentReader)); 626TextBoxBase.IsSelectionActiveProperty.AddOwner(typeof(FlowDocumentReader)); 632TextBoxBase.IsInactiveSelectionHighlightEnabledProperty.AddOwner(typeof(FlowDocumentReader)); 649public static readonly RoutedUICommand SwitchViewingModeCommand = new RoutedUICommand(Switch_ViewingMode, "SwitchViewingMode", typeof(FlowDocumentReader), null); 1319CommandHelpers.RegisterCommandHandler(typeof(FlowDocumentReader), FlowDocumentReader.SwitchViewingModeCommand, 1323CommandHelpers.RegisterCommandHandler(typeof(FlowDocumentReader), ApplicationCommands.Find, 1327CommandHelpers.RegisterCommandHandler(typeof(FlowDocumentReader), ApplicationCommands.Print, 1331CommandHelpers.RegisterCommandHandler(typeof(FlowDocumentReader), ApplicationCommands.CancelPrint, 1335CommandHelpers.RegisterCommandHandler(typeof(FlowDocumentReader), NavigationCommands.PreviousPage, 1339CommandHelpers.RegisterCommandHandler(typeof(FlowDocumentReader), NavigationCommands.NextPage, 1343CommandHelpers.RegisterCommandHandler(typeof(FlowDocumentReader), NavigationCommands.FirstPage, 1347CommandHelpers.RegisterCommandHandler(typeof(FlowDocumentReader), NavigationCommands.LastPage, 1351CommandHelpers.RegisterCommandHandler(typeof(FlowDocumentReader), NavigationCommands.IncreaseZoom, 1355CommandHelpers.RegisterCommandHandler(typeof(FlowDocumentReader), NavigationCommands.DecreaseZoom, 1366FlowDocumentReader viewer = target as FlowDocumentReader; 1380if (args.Command == FlowDocumentReader.SwitchViewingModeCommand) 1424FlowDocumentReader viewer = target as FlowDocumentReader; 1428if (args.Command == FlowDocumentReader.SwitchViewingModeCommand) 1596DocumentViewerHelper.KeyDownHelper(e, ((FlowDocumentReader)sender)._findToolBarHost); 1608Invariant.Assert(d != null && d is FlowDocumentReader); 1609FlowDocumentReader viewer = (FlowDocumentReader)d; 1640Invariant.Assert(d != null && d is FlowDocumentReader); 1641FlowDocumentReader viewer = (FlowDocumentReader)d; 1667Invariant.Assert(d != null && d is FlowDocumentReader); 1668FlowDocumentReader viewer = (FlowDocumentReader)d; 1688Invariant.Assert(d != null && d is FlowDocumentReader); 1689FlowDocumentReader viewer = (FlowDocumentReader)d; 1700Invariant.Assert(d != null && d is FlowDocumentReader); 1701FlowDocumentReader viewer = (FlowDocumentReader)d; 1713Invariant.Assert(d != null && d is FlowDocumentReader); 1714FlowDocumentReader viewer = (FlowDocumentReader)d; 1728Invariant.Assert(d != null && d is FlowDocumentReader); 1729FlowDocumentReader viewer = (FlowDocumentReader)d; 1753Invariant.Assert(d != null && d is FlowDocumentReader); 1754FlowDocumentReader viewer = (FlowDocumentReader)d; 1765Invariant.Assert(d != null && d is FlowDocumentReader); 1766FlowDocumentReader viewer = (FlowDocumentReader)d; 1777Invariant.Assert(d != null && d is FlowDocumentReader); 1778FlowDocumentReader viewer = (FlowDocumentReader)d; 1801FlowDocumentReader reader = (FlowDocumentReader)d;
System\windows\Documents\CaretElement.cs (1)
842if (node is FlowDocumentReader)
System\Windows\Markup\Baml2006\Baml2006KnownTypes.cs (1)
304case 211: t = () => typeof(FlowDocumentReader); break;
System\Windows\Markup\Baml2006\WpfGeneratedKnownProperties.cs (3)
2490Type type = typeof(System.Windows.Controls.FlowDocumentReader); 2491DependencyProperty dp = System.Windows.Controls.FlowDocumentReader.DocumentProperty; 2493this.GetXamlType(typeof(System.Windows.Controls.FlowDocumentReader)), // DeclaringType
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
4697typeof(System.Windows.Controls.FlowDocumentReader),
System\Windows\Markup\KnownTypes.cs (2)
1759return System.Windows.Controls.FlowDocumentReader.DocumentProperty; 5758case KnownElements.FlowDocumentReader: t = typeof(System.Windows.Controls.FlowDocumentReader); break;