2 instantiations of FlowDocumentReader
PresentationFramework (2)
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
4346
bamlType.DefaultConstructor = delegate() { return new System.Windows.Controls.
FlowDocumentReader
(); };
System\Windows\Markup\KnownTypes.cs (1)
1272
case KnownElements.FlowDocumentReader: o = new System.Windows.Controls.
FlowDocumentReader
(); break;
111 references to FlowDocumentReader
PresentationFramework (111)
System\Windows\Annotations\AnnotationHelper.cs (9)
199
FlowDocumentReader
fdr = service.Root as
FlowDocumentReader
;
583
FlowDocumentReader
fdr = service.Root as
FlowDocumentReader
;
668
internal static object GetFdrHost(
FlowDocumentReader
fdr)
1055
FlowDocumentReader
reader = viewer as
FlowDocumentReader
;
1106
FlowDocumentReader
reader = service.Root as
FlowDocumentReader
;
System\Windows\Annotations\AnnotationService.cs (11)
83
CommandManager.RegisterClassCommandBinding(typeof(
FlowDocumentReader
), new CommandBinding(CreateHighlightCommand, AnnotationHelper.OnCreateHighlightCommand, AnnotationHelper.OnQueryCreateHighlightCommand));
85
CommandManager.RegisterClassCommandBinding(typeof(
FlowDocumentReader
), new CommandBinding(CreateTextStickyNoteCommand, AnnotationHelper.OnCreateTextStickyNoteCommand, AnnotationHelper.OnQueryCreateTextStickyNoteCommand));
87
CommandManager.RegisterClassCommandBinding(typeof(
FlowDocumentReader
), new CommandBinding(CreateInkStickyNoteCommand, AnnotationHelper.OnCreateInkStickyNoteCommand, AnnotationHelper.OnQueryCreateInkStickyNoteCommand));
89
CommandManager.RegisterClassCommandBinding(typeof(
FlowDocumentReader
), new CommandBinding(ClearHighlightsCommand, AnnotationHelper.OnClearHighlightsCommand, AnnotationHelper.OnQueryClearHighlightsCommand));
91
CommandManager.RegisterClassCommandBinding(typeof(
FlowDocumentReader
), new CommandBinding(DeleteStickyNotesCommand, AnnotationHelper.OnDeleteStickyNotesCommand, AnnotationHelper.OnQueryDeleteStickyNotesCommand));
93
CommandManager.RegisterClassCommandBinding(typeof(
FlowDocumentReader
), new CommandBinding(DeleteAnnotationsCommand, AnnotationHelper.OnDeleteAnnotationsCommand, AnnotationHelper.OnQueryDeleteAnnotationsCommand));
128
public AnnotationService(
FlowDocumentReader
viewer)
314
public static AnnotationService GetService(
FlowDocumentReader
reader)
1095
FlowDocumentReader
reader = root as
FlowDocumentReader
;
1562
else if ((viewer is FlowDocumentScrollViewer) || (viewer is
FlowDocumentReader
))
System\Windows\Automation\Peers\FlowDocumentReaderAutomationPeer.cs (6)
26
public FlowDocumentReaderAutomationPeer(
FlowDocumentReader
owner)
61
FlowDocument document = ((
FlowDocumentReader
)Owner).Document;
118
if (e.Property ==
FlowDocumentReader
.IsPageViewEnabledProperty)
125
else if (e.Property ==
FlowDocumentReader
.IsTwoPageViewEnabledProperty)
189
private
FlowDocumentReader
FlowDocumentReader
191
get { return (
FlowDocumentReader
)Owner; }
System\Windows\Controls\FlowDocumentReader.cs (77)
52
typeof(
FlowDocumentReader
),
55
_dType = DependencyObjectType.FromSystemTypeInternal(typeof(
FlowDocumentReader
));
57
TextBoxBase.SelectionBrushProperty.OverrideMetadata(typeof(
FlowDocumentReader
),
59
TextBoxBase.SelectionOpacityProperty.OverrideMetadata(typeof(
FlowDocumentReader
),
64
EventManager.RegisterClassHandler(typeof(
FlowDocumentReader
), Keyboard.KeyDownEvent, new KeyEventHandler(KeyDownHandler), true);
409
typeof(
FlowDocumentReader
),
423
typeof(
FlowDocumentReader
),
435
typeof(
FlowDocumentReader
),
447
typeof(
FlowDocumentReader
),
459
typeof(
FlowDocumentReader
),
474
typeof(
FlowDocumentReader
),
488
typeof(
FlowDocumentReader
),
503
typeof(
FlowDocumentReader
),
518
typeof(
FlowDocumentReader
),
530
typeof(
FlowDocumentReader
),
542
typeof(
FlowDocumentReader
),
552
typeof(
FlowDocumentReader
),
563
typeof(
FlowDocumentReader
),
574
typeof(
FlowDocumentReader
),
584
typeof(
FlowDocumentReader
));
593
typeof(
FlowDocumentReader
),
608
typeof(
FlowDocumentReader
),
620
TextBoxBase.SelectionBrushProperty.AddOwner(typeof(
FlowDocumentReader
));
626
TextBoxBase.SelectionOpacityProperty.AddOwner(typeof(
FlowDocumentReader
));
632
TextBoxBase.IsSelectionActiveProperty.AddOwner(typeof(
FlowDocumentReader
));
638
TextBoxBase.IsInactiveSelectionHighlightEnabledProperty.AddOwner(typeof(
FlowDocumentReader
));
655
public static readonly RoutedUICommand SwitchViewingModeCommand = new RoutedUICommand(Switch_ViewingMode, "SwitchViewingMode", typeof(
FlowDocumentReader
), null);
1336
CommandHelpers.RegisterCommandHandler(typeof(
FlowDocumentReader
),
FlowDocumentReader
.SwitchViewingModeCommand,
1340
CommandHelpers.RegisterCommandHandler(typeof(
FlowDocumentReader
), ApplicationCommands.Find,
1344
CommandHelpers.RegisterCommandHandler(typeof(
FlowDocumentReader
), ApplicationCommands.Print,
1348
CommandHelpers.RegisterCommandHandler(typeof(
FlowDocumentReader
), ApplicationCommands.CancelPrint,
1352
CommandHelpers.RegisterCommandHandler(typeof(
FlowDocumentReader
), NavigationCommands.PreviousPage,
1356
CommandHelpers.RegisterCommandHandler(typeof(
FlowDocumentReader
), NavigationCommands.NextPage,
1360
CommandHelpers.RegisterCommandHandler(typeof(
FlowDocumentReader
), NavigationCommands.FirstPage,
1364
CommandHelpers.RegisterCommandHandler(typeof(
FlowDocumentReader
), NavigationCommands.LastPage,
1368
CommandHelpers.RegisterCommandHandler(typeof(
FlowDocumentReader
), NavigationCommands.IncreaseZoom,
1372
CommandHelpers.RegisterCommandHandler(typeof(
FlowDocumentReader
), NavigationCommands.DecreaseZoom,
1383
FlowDocumentReader
viewer = target as
FlowDocumentReader
;
1397
if (args.Command ==
FlowDocumentReader
.SwitchViewingModeCommand)
1441
FlowDocumentReader
viewer = target as
FlowDocumentReader
;
1445
if (args.Command ==
FlowDocumentReader
.SwitchViewingModeCommand)
1628
DocumentViewerHelper.KeyDownHelper(e, ((
FlowDocumentReader
)sender)._findToolBarHost);
1640
Invariant.Assert(d != null && d is
FlowDocumentReader
);
1641
FlowDocumentReader
viewer = (
FlowDocumentReader
)d;
1675
Invariant.Assert(d != null && d is
FlowDocumentReader
);
1676
FlowDocumentReader
viewer = (
FlowDocumentReader
)d;
1705
Invariant.Assert(d != null && d is
FlowDocumentReader
);
1706
FlowDocumentReader
viewer = (
FlowDocumentReader
)d;
1726
Invariant.Assert(d != null && d is
FlowDocumentReader
);
1727
FlowDocumentReader
viewer = (
FlowDocumentReader
)d;
1738
Invariant.Assert(d != null && d is
FlowDocumentReader
);
1739
FlowDocumentReader
viewer = (
FlowDocumentReader
)d;
1751
Invariant.Assert(d != null && d is
FlowDocumentReader
);
1752
FlowDocumentReader
viewer = (
FlowDocumentReader
)d;
1766
Invariant.Assert(d != null && d is
FlowDocumentReader
);
1767
FlowDocumentReader
viewer = (
FlowDocumentReader
)d;
1791
Invariant.Assert(d != null && d is
FlowDocumentReader
);
1792
FlowDocumentReader
viewer = (
FlowDocumentReader
)d;
1803
Invariant.Assert(d != null && d is
FlowDocumentReader
);
1804
FlowDocumentReader
viewer = (
FlowDocumentReader
)d;
1815
Invariant.Assert(d != null && d is
FlowDocumentReader
);
1816
FlowDocumentReader
viewer = (
FlowDocumentReader
)d;
1839
FlowDocumentReader
reader = (
FlowDocumentReader
)d;
System\windows\Documents\CaretElement.cs (1)
845
if (node is
FlowDocumentReader
)
System\Windows\Markup\Baml2006\Baml2006KnownTypes.cs (1)
307
case 211: t = () => typeof(
FlowDocumentReader
); break;
System\Windows\Markup\Baml2006\WpfGeneratedKnownProperties.cs (3)
2429
Type type = typeof(System.Windows.Controls.
FlowDocumentReader
);
2430
DependencyProperty dp = System.Windows.Controls.
FlowDocumentReader
.DocumentProperty;
2432
this.GetXamlType(typeof(System.Windows.Controls.
FlowDocumentReader
)), // DeclaringType
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
4344
typeof(System.Windows.Controls.
FlowDocumentReader
),
System\Windows\Markup\KnownTypes.cs (2)
1766
return System.Windows.Controls.
FlowDocumentReader
.DocumentProperty;
5765
case KnownElements.FlowDocumentReader: t = typeof(System.Windows.Controls.
FlowDocumentReader
); break;