2 instantiations of FlowDocumentReader
PresentationFramework (2)
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
4344
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)
187
FlowDocumentReader
fdr = service.Root as
FlowDocumentReader
;
571
FlowDocumentReader
fdr = service.Root as
FlowDocumentReader
;
656
internal static object GetFdrHost(
FlowDocumentReader
fdr)
1043
FlowDocumentReader
reader = viewer as
FlowDocumentReader
;
1094
FlowDocumentReader
reader = service.Root as
FlowDocumentReader
;
System\Windows\Annotations\AnnotationService.cs (11)
71
CommandManager.RegisterClassCommandBinding(typeof(
FlowDocumentReader
), new CommandBinding(CreateHighlightCommand, AnnotationHelper.OnCreateHighlightCommand, AnnotationHelper.OnQueryCreateHighlightCommand));
73
CommandManager.RegisterClassCommandBinding(typeof(
FlowDocumentReader
), new CommandBinding(CreateTextStickyNoteCommand, AnnotationHelper.OnCreateTextStickyNoteCommand, AnnotationHelper.OnQueryCreateTextStickyNoteCommand));
75
CommandManager.RegisterClassCommandBinding(typeof(
FlowDocumentReader
), new CommandBinding(CreateInkStickyNoteCommand, AnnotationHelper.OnCreateInkStickyNoteCommand, AnnotationHelper.OnQueryCreateInkStickyNoteCommand));
77
CommandManager.RegisterClassCommandBinding(typeof(
FlowDocumentReader
), new CommandBinding(ClearHighlightsCommand, AnnotationHelper.OnClearHighlightsCommand, AnnotationHelper.OnQueryClearHighlightsCommand));
79
CommandManager.RegisterClassCommandBinding(typeof(
FlowDocumentReader
), new CommandBinding(DeleteStickyNotesCommand, AnnotationHelper.OnDeleteStickyNotesCommand, AnnotationHelper.OnQueryDeleteStickyNotesCommand));
81
CommandManager.RegisterClassCommandBinding(typeof(
FlowDocumentReader
), new CommandBinding(DeleteAnnotationsCommand, AnnotationHelper.OnDeleteAnnotationsCommand, AnnotationHelper.OnQueryDeleteAnnotationsCommand));
116
public AnnotationService(
FlowDocumentReader
viewer)
302
public static AnnotationService GetService(
FlowDocumentReader
reader)
1083
FlowDocumentReader
reader = root as
FlowDocumentReader
;
1550
else if ((viewer is FlowDocumentScrollViewer) || (viewer is
FlowDocumentReader
))
System\Windows\Automation\Peers\FlowDocumentReaderAutomationPeer.cs (6)
25
public FlowDocumentReaderAutomationPeer(
FlowDocumentReader
owner)
60
FlowDocument document = ((
FlowDocumentReader
)Owner).Document;
117
if (e.Property ==
FlowDocumentReader
.IsPageViewEnabledProperty)
124
else if (e.Property ==
FlowDocumentReader
.IsTwoPageViewEnabledProperty)
188
private
FlowDocumentReader
FlowDocumentReader
190
get { return (
FlowDocumentReader
)Owner; }
System\Windows\Controls\FlowDocumentReader.cs (77)
47
typeof(
FlowDocumentReader
),
50
_dType = DependencyObjectType.FromSystemTypeInternal(typeof(
FlowDocumentReader
));
52
TextBoxBase.SelectionBrushProperty.OverrideMetadata(typeof(
FlowDocumentReader
),
54
TextBoxBase.SelectionOpacityProperty.OverrideMetadata(typeof(
FlowDocumentReader
),
59
EventManager.RegisterClassHandler(typeof(
FlowDocumentReader
), Keyboard.KeyDownEvent, new KeyEventHandler(KeyDownHandler), true);
404
typeof(
FlowDocumentReader
),
418
typeof(
FlowDocumentReader
),
430
typeof(
FlowDocumentReader
),
442
typeof(
FlowDocumentReader
),
454
typeof(
FlowDocumentReader
),
469
typeof(
FlowDocumentReader
),
483
typeof(
FlowDocumentReader
),
498
typeof(
FlowDocumentReader
),
513
typeof(
FlowDocumentReader
),
525
typeof(
FlowDocumentReader
),
537
typeof(
FlowDocumentReader
),
547
typeof(
FlowDocumentReader
),
558
typeof(
FlowDocumentReader
),
569
typeof(
FlowDocumentReader
),
579
typeof(
FlowDocumentReader
));
588
typeof(
FlowDocumentReader
),
603
typeof(
FlowDocumentReader
),
615
TextBoxBase.SelectionBrushProperty.AddOwner(typeof(
FlowDocumentReader
));
621
TextBoxBase.SelectionOpacityProperty.AddOwner(typeof(
FlowDocumentReader
));
627
TextBoxBase.IsSelectionActiveProperty.AddOwner(typeof(
FlowDocumentReader
));
633
TextBoxBase.IsInactiveSelectionHighlightEnabledProperty.AddOwner(typeof(
FlowDocumentReader
));
650
public static readonly RoutedUICommand SwitchViewingModeCommand = new RoutedUICommand(Switch_ViewingMode, "SwitchViewingMode", typeof(
FlowDocumentReader
), null);
1331
CommandHelpers.RegisterCommandHandler(typeof(
FlowDocumentReader
),
FlowDocumentReader
.SwitchViewingModeCommand,
1335
CommandHelpers.RegisterCommandHandler(typeof(
FlowDocumentReader
), ApplicationCommands.Find,
1339
CommandHelpers.RegisterCommandHandler(typeof(
FlowDocumentReader
), ApplicationCommands.Print,
1343
CommandHelpers.RegisterCommandHandler(typeof(
FlowDocumentReader
), ApplicationCommands.CancelPrint,
1347
CommandHelpers.RegisterCommandHandler(typeof(
FlowDocumentReader
), NavigationCommands.PreviousPage,
1351
CommandHelpers.RegisterCommandHandler(typeof(
FlowDocumentReader
), NavigationCommands.NextPage,
1355
CommandHelpers.RegisterCommandHandler(typeof(
FlowDocumentReader
), NavigationCommands.FirstPage,
1359
CommandHelpers.RegisterCommandHandler(typeof(
FlowDocumentReader
), NavigationCommands.LastPage,
1363
CommandHelpers.RegisterCommandHandler(typeof(
FlowDocumentReader
), NavigationCommands.IncreaseZoom,
1367
CommandHelpers.RegisterCommandHandler(typeof(
FlowDocumentReader
), NavigationCommands.DecreaseZoom,
1378
FlowDocumentReader
viewer = target as
FlowDocumentReader
;
1392
if (args.Command ==
FlowDocumentReader
.SwitchViewingModeCommand)
1436
FlowDocumentReader
viewer = target as
FlowDocumentReader
;
1440
if (args.Command ==
FlowDocumentReader
.SwitchViewingModeCommand)
1623
DocumentViewerHelper.KeyDownHelper(e, ((
FlowDocumentReader
)sender)._findToolBarHost);
1635
Invariant.Assert(d != null && d is
FlowDocumentReader
);
1636
FlowDocumentReader
viewer = (
FlowDocumentReader
)d;
1670
Invariant.Assert(d != null && d is
FlowDocumentReader
);
1671
FlowDocumentReader
viewer = (
FlowDocumentReader
)d;
1700
Invariant.Assert(d != null && d is
FlowDocumentReader
);
1701
FlowDocumentReader
viewer = (
FlowDocumentReader
)d;
1721
Invariant.Assert(d != null && d is
FlowDocumentReader
);
1722
FlowDocumentReader
viewer = (
FlowDocumentReader
)d;
1733
Invariant.Assert(d != null && d is
FlowDocumentReader
);
1734
FlowDocumentReader
viewer = (
FlowDocumentReader
)d;
1746
Invariant.Assert(d != null && d is
FlowDocumentReader
);
1747
FlowDocumentReader
viewer = (
FlowDocumentReader
)d;
1761
Invariant.Assert(d != null && d is
FlowDocumentReader
);
1762
FlowDocumentReader
viewer = (
FlowDocumentReader
)d;
1786
Invariant.Assert(d != null && d is
FlowDocumentReader
);
1787
FlowDocumentReader
viewer = (
FlowDocumentReader
)d;
1798
Invariant.Assert(d != null && d is
FlowDocumentReader
);
1799
FlowDocumentReader
viewer = (
FlowDocumentReader
)d;
1810
Invariant.Assert(d != null && d is
FlowDocumentReader
);
1811
FlowDocumentReader
viewer = (
FlowDocumentReader
)d;
1834
FlowDocumentReader
reader = (
FlowDocumentReader
)d;
System\windows\Documents\CaretElement.cs (1)
842
if (node is
FlowDocumentReader
)
System\Windows\Markup\Baml2006\Baml2006KnownTypes.cs (1)
305
case 211: t = () => typeof(
FlowDocumentReader
); break;
System\Windows\Markup\Baml2006\WpfGeneratedKnownProperties.cs (3)
2427
Type type = typeof(System.Windows.Controls.
FlowDocumentReader
);
2428
DependencyProperty dp = System.Windows.Controls.
FlowDocumentReader
.DocumentProperty;
2430
this.GetXamlType(typeof(System.Windows.Controls.
FlowDocumentReader
)), // DeclaringType
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
4342
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;