2 instantiations of FlowDocumentReader
PresentationFramework (2)
src\Framework\System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
4342
bamlType.DefaultConstructor = delegate() { return new System.Windows.Controls.
FlowDocumentReader
(); };
src\Framework\System\Windows\Markup\KnownTypes.cs (1)
1273
case KnownElements.FlowDocumentReader: o = new System.Windows.Controls.
FlowDocumentReader
(); break;
111 references to FlowDocumentReader
PresentationFramework (111)
src\Framework\System\Windows\Annotations\AnnotationHelper.cs (9)
205
FlowDocumentReader
fdr = service.Root as
FlowDocumentReader
;
590
FlowDocumentReader
fdr = service.Root as
FlowDocumentReader
;
675
internal static object GetFdrHost(
FlowDocumentReader
fdr)
1063
FlowDocumentReader
reader = viewer as
FlowDocumentReader
;
1117
FlowDocumentReader
reader = service.Root as
FlowDocumentReader
;
src\Framework\System\Windows\Annotations\AnnotationService.cs (11)
94
CommandManager.RegisterClassCommandBinding(typeof(
FlowDocumentReader
), new CommandBinding(CreateHighlightCommand, AnnotationHelper.OnCreateHighlightCommand, AnnotationHelper.OnQueryCreateHighlightCommand));
96
CommandManager.RegisterClassCommandBinding(typeof(
FlowDocumentReader
), new CommandBinding(CreateTextStickyNoteCommand, AnnotationHelper.OnCreateTextStickyNoteCommand, AnnotationHelper.OnQueryCreateTextStickyNoteCommand));
98
CommandManager.RegisterClassCommandBinding(typeof(
FlowDocumentReader
), new CommandBinding(CreateInkStickyNoteCommand, AnnotationHelper.OnCreateInkStickyNoteCommand, AnnotationHelper.OnQueryCreateInkStickyNoteCommand));
100
CommandManager.RegisterClassCommandBinding(typeof(
FlowDocumentReader
), new CommandBinding(ClearHighlightsCommand, AnnotationHelper.OnClearHighlightsCommand, AnnotationHelper.OnQueryClearHighlightsCommand));
102
CommandManager.RegisterClassCommandBinding(typeof(
FlowDocumentReader
), new CommandBinding(DeleteStickyNotesCommand, AnnotationHelper.OnDeleteStickyNotesCommand, AnnotationHelper.OnQueryDeleteStickyNotesCommand));
104
CommandManager.RegisterClassCommandBinding(typeof(
FlowDocumentReader
), new CommandBinding(DeleteAnnotationsCommand, AnnotationHelper.OnDeleteAnnotationsCommand, AnnotationHelper.OnQueryDeleteAnnotationsCommand));
141
public AnnotationService(
FlowDocumentReader
viewer)
331
public static AnnotationService GetService(
FlowDocumentReader
reader)
1133
FlowDocumentReader
reader = root as
FlowDocumentReader
;
1602
else if ((viewer is FlowDocumentScrollViewer) || (viewer is
FlowDocumentReader
))
src\Framework\System\Windows\Automation\Peers\FlowDocumentReaderAutomationPeer.cs (6)
28
public FlowDocumentReaderAutomationPeer(
FlowDocumentReader
owner)
63
FlowDocument document = ((
FlowDocumentReader
)Owner).Document;
120
if (e.Property ==
FlowDocumentReader
.IsPageViewEnabledProperty)
127
else if (e.Property ==
FlowDocumentReader
.IsTwoPageViewEnabledProperty)
191
private
FlowDocumentReader
FlowDocumentReader
193
get { return (
FlowDocumentReader
)Owner; }
src\Framework\System\Windows\Controls\FlowDocumentReader.cs (77)
53
typeof(
FlowDocumentReader
),
56
_dType = DependencyObjectType.FromSystemTypeInternal(typeof(
FlowDocumentReader
));
58
TextBoxBase.SelectionBrushProperty.OverrideMetadata(typeof(
FlowDocumentReader
),
60
TextBoxBase.SelectionOpacityProperty.OverrideMetadata(typeof(
FlowDocumentReader
),
65
EventManager.RegisterClassHandler(typeof(
FlowDocumentReader
), Keyboard.KeyDownEvent, new KeyEventHandler(KeyDownHandler), true);
410
typeof(
FlowDocumentReader
),
424
typeof(
FlowDocumentReader
),
436
typeof(
FlowDocumentReader
),
448
typeof(
FlowDocumentReader
),
460
typeof(
FlowDocumentReader
),
475
typeof(
FlowDocumentReader
),
489
typeof(
FlowDocumentReader
),
504
typeof(
FlowDocumentReader
),
519
typeof(
FlowDocumentReader
),
531
typeof(
FlowDocumentReader
),
543
typeof(
FlowDocumentReader
),
553
typeof(
FlowDocumentReader
),
564
typeof(
FlowDocumentReader
),
575
typeof(
FlowDocumentReader
),
585
typeof(
FlowDocumentReader
));
594
typeof(
FlowDocumentReader
),
609
typeof(
FlowDocumentReader
),
621
TextBoxBase.SelectionBrushProperty.AddOwner(typeof(
FlowDocumentReader
));
627
TextBoxBase.SelectionOpacityProperty.AddOwner(typeof(
FlowDocumentReader
));
633
TextBoxBase.IsSelectionActiveProperty.AddOwner(typeof(
FlowDocumentReader
));
639
TextBoxBase.IsInactiveSelectionHighlightEnabledProperty.AddOwner(typeof(
FlowDocumentReader
));
656
public static readonly RoutedUICommand SwitchViewingModeCommand = new RoutedUICommand(SR.Get(SRID.SwitchViewingMode), "SwitchViewingMode", typeof(
FlowDocumentReader
), null);
1342
CommandHelpers.RegisterCommandHandler(typeof(
FlowDocumentReader
),
FlowDocumentReader
.SwitchViewingModeCommand,
1346
CommandHelpers.RegisterCommandHandler(typeof(
FlowDocumentReader
), ApplicationCommands.Find,
1350
CommandHelpers.RegisterCommandHandler(typeof(
FlowDocumentReader
), ApplicationCommands.Print,
1354
CommandHelpers.RegisterCommandHandler(typeof(
FlowDocumentReader
), ApplicationCommands.CancelPrint,
1358
CommandHelpers.RegisterCommandHandler(typeof(
FlowDocumentReader
), NavigationCommands.PreviousPage,
1362
CommandHelpers.RegisterCommandHandler(typeof(
FlowDocumentReader
), NavigationCommands.NextPage,
1366
CommandHelpers.RegisterCommandHandler(typeof(
FlowDocumentReader
), NavigationCommands.FirstPage,
1370
CommandHelpers.RegisterCommandHandler(typeof(
FlowDocumentReader
), NavigationCommands.LastPage,
1374
CommandHelpers.RegisterCommandHandler(typeof(
FlowDocumentReader
), NavigationCommands.IncreaseZoom,
1378
CommandHelpers.RegisterCommandHandler(typeof(
FlowDocumentReader
), NavigationCommands.DecreaseZoom,
1389
FlowDocumentReader
viewer = target as
FlowDocumentReader
;
1403
if (args.Command ==
FlowDocumentReader
.SwitchViewingModeCommand)
1447
FlowDocumentReader
viewer = target as
FlowDocumentReader
;
1451
if (args.Command ==
FlowDocumentReader
.SwitchViewingModeCommand)
1634
DocumentViewerHelper.KeyDownHelper(e, ((
FlowDocumentReader
)sender)._findToolBarHost);
1646
Invariant.Assert(d != null && d is
FlowDocumentReader
);
1647
FlowDocumentReader
viewer = (
FlowDocumentReader
)d;
1681
Invariant.Assert(d != null && d is
FlowDocumentReader
);
1682
FlowDocumentReader
viewer = (
FlowDocumentReader
)d;
1711
Invariant.Assert(d != null && d is
FlowDocumentReader
);
1712
FlowDocumentReader
viewer = (
FlowDocumentReader
)d;
1732
Invariant.Assert(d != null && d is
FlowDocumentReader
);
1733
FlowDocumentReader
viewer = (
FlowDocumentReader
)d;
1744
Invariant.Assert(d != null && d is
FlowDocumentReader
);
1745
FlowDocumentReader
viewer = (
FlowDocumentReader
)d;
1757
Invariant.Assert(d != null && d is
FlowDocumentReader
);
1758
FlowDocumentReader
viewer = (
FlowDocumentReader
)d;
1772
Invariant.Assert(d != null && d is
FlowDocumentReader
);
1773
FlowDocumentReader
viewer = (
FlowDocumentReader
)d;
1797
Invariant.Assert(d != null && d is
FlowDocumentReader
);
1798
FlowDocumentReader
viewer = (
FlowDocumentReader
)d;
1809
Invariant.Assert(d != null && d is
FlowDocumentReader
);
1810
FlowDocumentReader
viewer = (
FlowDocumentReader
)d;
1821
Invariant.Assert(d != null && d is
FlowDocumentReader
);
1822
FlowDocumentReader
viewer = (
FlowDocumentReader
)d;
1845
FlowDocumentReader
reader = (
FlowDocumentReader
)d;
src\Framework\System\windows\Documents\CaretElement.cs (1)
849
if (node is
FlowDocumentReader
)
src\Framework\System\Windows\Markup\Baml2006\Baml2006KnownTypes.cs (1)
303
case 211: t = () => typeof(
FlowDocumentReader
); break;
src\Framework\System\Windows\Markup\Baml2006\WpfGeneratedKnownProperties.cs (3)
2421
Type type = typeof(System.Windows.Controls.
FlowDocumentReader
);
2422
DependencyProperty dp = System.Windows.Controls.
FlowDocumentReader
.DocumentProperty;
2424
this.GetXamlType(typeof(System.Windows.Controls.
FlowDocumentReader
)), // DeclaringType
src\Framework\System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
4340
typeof(System.Windows.Controls.
FlowDocumentReader
),
src\Framework\System\Windows\Markup\KnownTypes.cs (2)
1767
return System.Windows.Controls.
FlowDocumentReader
.DocumentProperty;
5755
case KnownElements.FlowDocumentReader: t = typeof(System.Windows.Controls.
FlowDocumentReader
); break;