2 instantiations of FlowDocumentReader
PresentationFramework (2)
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
4344bamlType.DefaultConstructor = delegate() { return new System.Windows.Controls.FlowDocumentReader(); };
System\Windows\Markup\KnownTypes.cs (1)
1272case KnownElements.FlowDocumentReader: o = new System.Windows.Controls.FlowDocumentReader(); break;
111 references to FlowDocumentReader
PresentationFramework (111)
System\Windows\Annotations\AnnotationHelper.cs (9)
187FlowDocumentReader fdr = service.Root as FlowDocumentReader; 571FlowDocumentReader fdr = service.Root as FlowDocumentReader; 656internal static object GetFdrHost(FlowDocumentReader fdr) 1043FlowDocumentReader reader = viewer as FlowDocumentReader; 1094FlowDocumentReader reader = service.Root as FlowDocumentReader;
System\Windows\Annotations\AnnotationService.cs (11)
71CommandManager.RegisterClassCommandBinding(typeof(FlowDocumentReader), new CommandBinding(CreateHighlightCommand, AnnotationHelper.OnCreateHighlightCommand, AnnotationHelper.OnQueryCreateHighlightCommand)); 73CommandManager.RegisterClassCommandBinding(typeof(FlowDocumentReader), new CommandBinding(CreateTextStickyNoteCommand, AnnotationHelper.OnCreateTextStickyNoteCommand, AnnotationHelper.OnQueryCreateTextStickyNoteCommand)); 75CommandManager.RegisterClassCommandBinding(typeof(FlowDocumentReader), new CommandBinding(CreateInkStickyNoteCommand, AnnotationHelper.OnCreateInkStickyNoteCommand, AnnotationHelper.OnQueryCreateInkStickyNoteCommand)); 77CommandManager.RegisterClassCommandBinding(typeof(FlowDocumentReader), new CommandBinding(ClearHighlightsCommand, AnnotationHelper.OnClearHighlightsCommand, AnnotationHelper.OnQueryClearHighlightsCommand)); 79CommandManager.RegisterClassCommandBinding(typeof(FlowDocumentReader), new CommandBinding(DeleteStickyNotesCommand, AnnotationHelper.OnDeleteStickyNotesCommand, AnnotationHelper.OnQueryDeleteStickyNotesCommand)); 81CommandManager.RegisterClassCommandBinding(typeof(FlowDocumentReader), new CommandBinding(DeleteAnnotationsCommand, AnnotationHelper.OnDeleteAnnotationsCommand, AnnotationHelper.OnQueryDeleteAnnotationsCommand)); 116public AnnotationService(FlowDocumentReader viewer) 302public static AnnotationService GetService(FlowDocumentReader reader) 1083FlowDocumentReader reader = root as FlowDocumentReader; 1550else if ((viewer is FlowDocumentScrollViewer) || (viewer is FlowDocumentReader))
System\Windows\Automation\Peers\FlowDocumentReaderAutomationPeer.cs (6)
25public FlowDocumentReaderAutomationPeer(FlowDocumentReader owner) 60FlowDocument document = ((FlowDocumentReader)Owner).Document; 117if (e.Property == FlowDocumentReader.IsPageViewEnabledProperty) 124else if (e.Property == FlowDocumentReader.IsTwoPageViewEnabledProperty) 188private FlowDocumentReader FlowDocumentReader 190get { 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); 1331CommandHelpers.RegisterCommandHandler(typeof(FlowDocumentReader), FlowDocumentReader.SwitchViewingModeCommand, 1335CommandHelpers.RegisterCommandHandler(typeof(FlowDocumentReader), ApplicationCommands.Find, 1339CommandHelpers.RegisterCommandHandler(typeof(FlowDocumentReader), ApplicationCommands.Print, 1343CommandHelpers.RegisterCommandHandler(typeof(FlowDocumentReader), ApplicationCommands.CancelPrint, 1347CommandHelpers.RegisterCommandHandler(typeof(FlowDocumentReader), NavigationCommands.PreviousPage, 1351CommandHelpers.RegisterCommandHandler(typeof(FlowDocumentReader), NavigationCommands.NextPage, 1355CommandHelpers.RegisterCommandHandler(typeof(FlowDocumentReader), NavigationCommands.FirstPage, 1359CommandHelpers.RegisterCommandHandler(typeof(FlowDocumentReader), NavigationCommands.LastPage, 1363CommandHelpers.RegisterCommandHandler(typeof(FlowDocumentReader), NavigationCommands.IncreaseZoom, 1367CommandHelpers.RegisterCommandHandler(typeof(FlowDocumentReader), NavigationCommands.DecreaseZoom, 1378FlowDocumentReader viewer = target as FlowDocumentReader; 1392if (args.Command == FlowDocumentReader.SwitchViewingModeCommand) 1436FlowDocumentReader viewer = target as FlowDocumentReader; 1440if (args.Command == FlowDocumentReader.SwitchViewingModeCommand) 1623DocumentViewerHelper.KeyDownHelper(e, ((FlowDocumentReader)sender)._findToolBarHost); 1635Invariant.Assert(d != null && d is FlowDocumentReader); 1636FlowDocumentReader viewer = (FlowDocumentReader)d; 1670Invariant.Assert(d != null && d is FlowDocumentReader); 1671FlowDocumentReader viewer = (FlowDocumentReader)d; 1700Invariant.Assert(d != null && d is FlowDocumentReader); 1701FlowDocumentReader viewer = (FlowDocumentReader)d; 1721Invariant.Assert(d != null && d is FlowDocumentReader); 1722FlowDocumentReader viewer = (FlowDocumentReader)d; 1733Invariant.Assert(d != null && d is FlowDocumentReader); 1734FlowDocumentReader viewer = (FlowDocumentReader)d; 1746Invariant.Assert(d != null && d is FlowDocumentReader); 1747FlowDocumentReader viewer = (FlowDocumentReader)d; 1761Invariant.Assert(d != null && d is FlowDocumentReader); 1762FlowDocumentReader viewer = (FlowDocumentReader)d; 1786Invariant.Assert(d != null && d is FlowDocumentReader); 1787FlowDocumentReader viewer = (FlowDocumentReader)d; 1798Invariant.Assert(d != null && d is FlowDocumentReader); 1799FlowDocumentReader viewer = (FlowDocumentReader)d; 1810Invariant.Assert(d != null && d is FlowDocumentReader); 1811FlowDocumentReader viewer = (FlowDocumentReader)d; 1834FlowDocumentReader reader = (FlowDocumentReader)d;
System\windows\Documents\CaretElement.cs (1)
842if (node is FlowDocumentReader)
System\Windows\Markup\Baml2006\Baml2006KnownTypes.cs (1)
305case 211: t = () => typeof(FlowDocumentReader); break;
System\Windows\Markup\Baml2006\WpfGeneratedKnownProperties.cs (3)
2427Type type = typeof(System.Windows.Controls.FlowDocumentReader); 2428DependencyProperty dp = System.Windows.Controls.FlowDocumentReader.DocumentProperty; 2430this.GetXamlType(typeof(System.Windows.Controls.FlowDocumentReader)), // DeclaringType
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
4342typeof(System.Windows.Controls.FlowDocumentReader),
System\Windows\Markup\KnownTypes.cs (2)
1766return System.Windows.Controls.FlowDocumentReader.DocumentProperty; 5765case KnownElements.FlowDocumentReader: t = typeof(System.Windows.Controls.FlowDocumentReader); break;