2 instantiations of DocumentViewer
PresentationFramework (2)
src\Framework\System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
3735
bamlType.DefaultConstructor = delegate() { return new System.Windows.Controls.
DocumentViewer
(); };
src\Framework\System\Windows\Markup\KnownTypes.cs (1)
1237
case KnownElements.DocumentViewer: o = new System.Windows.Controls.
DocumentViewer
(); break;
102 references to DocumentViewer
PresentationFramework (102)
src\Framework\MS\Internal\AppModel\OleCmdHelper.cs (4)
281
_applicationCommandsMappingTable.Value.Add((uint)AppCommands.View_Zoom_PageWidth, new CommandWithArgument(
DocumentViewer
.FitToWidthCommand));
282
_applicationCommandsMappingTable.Value.Add((uint)AppCommands.View_Zoom_WholePage, new CommandWithArgument(
DocumentViewer
.FitToHeightCommand));
283
_applicationCommandsMappingTable.Value.Add((uint)AppCommands.View_Zoom_TwoPages, new CommandWithArgument(
DocumentViewer
.FitToMaxPagesAcrossCommand, 2));
284
_applicationCommandsMappingTable.Value.Add((uint)AppCommands.View_Zoom_Thumbnails, new CommandWithArgument(
DocumentViewer
.ViewThumbnailsCommand));
src\Framework\MS\Internal\Documents\DocumentGrid.cs (2)
992
public
DocumentViewer
DocumentViewerOwner
3220
private
DocumentViewer
_documentViewerOwner;
src\Framework\MS\Internal\Documents\DocumentGridContextMenu.cs (2)
72
DocumentViewer
dv = sender as
DocumentViewer
;
src\Framework\MS\Internal\Documents\IDocumentScrollInfo.cs (2)
29
/// An IDocumentScrollInfo serves as the main scrolling region inside a <see cref="System.Windows.Controls.
DocumentViewer
" />
216
DocumentViewer
DocumentViewerOwner { get; set; }
src\Framework\MS\Internal\Documents\MultiPageTextView.cs (2)
432
else if (_viewer is
DocumentViewer
)
435
bringIntoViewPending = ((
DocumentViewer
)_viewer).BringPointIntoView(point);
src\Framework\System\Windows\Automation\Peers\DocumentViewerAutomationPeer.cs (3)
28
public DocumentViewerAutomationPeer(
DocumentViewer
owner)
52
DocumentViewer
owner = (
DocumentViewer
)Owner;
src\Framework\System\Windows\Controls\DocumentViewer.cs (81)
387
typeof(
DocumentViewer
),
417
typeof(
DocumentViewer
),
446
typeof(
DocumentViewer
),
474
typeof(
DocumentViewer
),
502
typeof(
DocumentViewer
),
531
typeof(
DocumentViewer
),
559
typeof(
DocumentViewer
),
591
typeof(
DocumentViewer
),
626
typeof(
DocumentViewer
),
654
typeof(
DocumentViewer
),
678
typeof(
DocumentViewer
),
702
typeof(
DocumentViewer
),
728
typeof(
DocumentViewer
),
754
typeof(
DocumentViewer
),
780
typeof(
DocumentViewer
),
807
typeof(
DocumentViewer
),
836
typeof(
DocumentViewer
),
1208
Zoom =
DocumentViewer
._zoomLevelCollection[_zoomLevelIndex];
1226
if ((oldZoom ==
DocumentViewer
._zoomLevelCollection[_zoomLevelIndex]) &&
1227
(_zoomLevelIndex <
DocumentViewer
._zoomLevelCollection.Length - 1))
1518
typeof(
DocumentViewer
),
1521
CommandHelpers.RegisterCommandHandler( typeof(
DocumentViewer
),
1533
typeof(
DocumentViewer
),
1536
CommandHelpers.RegisterCommandHandler(typeof(
DocumentViewer
),
1548
typeof(
DocumentViewer
),
1551
CommandHelpers.RegisterCommandHandler(typeof(
DocumentViewer
),
1563
typeof(
DocumentViewer
),
1566
CommandHelpers.RegisterCommandHandler(typeof(
DocumentViewer
),
1576
CommandHelpers.RegisterCommandHandler(typeof(
DocumentViewer
),
1584
CommandHelpers.RegisterCommandHandler(typeof(
DocumentViewer
),
1593
CommandHelpers.RegisterCommandHandler(typeof(
DocumentViewer
),
1602
CommandHelpers.RegisterCommandHandler(typeof(
DocumentViewer
),
1611
CommandHelpers.RegisterCommandHandler(typeof(
DocumentViewer
),
1620
CommandHelpers.RegisterCommandHandler(typeof(
DocumentViewer
),
1629
CommandHelpers.RegisterCommandHandler(typeof(
DocumentViewer
),
1638
CommandHelpers.RegisterCommandHandler(typeof(
DocumentViewer
),
1647
CommandHelpers.RegisterCommandHandler(typeof(
DocumentViewer
),
1656
CommandHelpers.RegisterCommandHandler(typeof(
DocumentViewer
),
1665
CommandHelpers.RegisterCommandHandler(typeof(
DocumentViewer
),
1681
CommandHelpers.RegisterCommandHandler(typeof(
DocumentViewer
),
1695
CommandHelpers.RegisterCommandHandler(typeof(
DocumentViewer
),
1702
CommandHelpers.RegisterCommandHandler(typeof(
DocumentViewer
),
1709
CommandHelpers.RegisterCommandHandler(typeof(
DocumentViewer
),
1716
CommandHelpers.RegisterCommandHandler(typeof(
DocumentViewer
),
1734
CommandManager.RegisterClassInputBinding(typeof(
DocumentViewer
),
1740
new InputBinding(
DocumentViewer
.FitToMaxPagesAcrossCommand,
1744
CommandManager.RegisterClassInputBinding(typeof(
DocumentViewer
),
1750
new InputBinding(
DocumentViewer
.FitToMaxPagesAcrossCommand,
1754
CommandManager.RegisterClassInputBinding(typeof(
DocumentViewer
),
1773
DocumentViewer
dv = target as
DocumentViewer
;
1880
DocumentViewer
dv = target as
DocumentViewer
;
1987
private static void DoFitToMaxPagesAcross(
DocumentViewer
dv, object data)
2044
private static void DoZoom(
DocumentViewer
dv, object data)
2081
DefaultStyleKeyProperty.OverrideMetadata(typeof(
DocumentViewer
), new FrameworkPropertyMetadata(typeof(
DocumentViewer
)));
2082
_dType = DependencyObjectType.FromSystemTypeInternal(typeof(
DocumentViewer
));
2473
DocumentViewer
dv = (
DocumentViewer
)d;
2493
DocumentViewer
dv = (
DocumentViewer
)d;
2510
DocumentViewer
dv = (
DocumentViewer
)d;
2518
DocumentViewer
dv = (
DocumentViewer
)d;
2526
DocumentViewer
dv = (
DocumentViewer
)d;
2535
DocumentViewer
dv = (
DocumentViewer
)d;
2547
DocumentViewer
dv = (
DocumentViewer
) d;
2579
DocumentViewer
dv = (
DocumentViewer
)d;
2591
dv._documentScrollInfo.SetScale(
DocumentViewer
.ZoomToScale(newZoom));
2626
DocumentViewer
dv = (
DocumentViewer
)d;
2657
DocumentViewer
dv = (
DocumentViewer
)d;
2673
DocumentViewer
dv = (
DocumentViewer
)d;
src\Framework\System\Windows\Markup\Baml2006\Baml2006KnownTypes.cs (1)
258
case 166: t = () => typeof(
DocumentViewer
); break;
src\Framework\System\Windows\Markup\Baml2006\WpfGeneratedKnownProperties.cs (3)
4430
Type type = typeof(System.Windows.Controls.
DocumentViewer
);
4431
DependencyProperty dp = System.Windows.Controls.
DocumentViewer
.DocumentProperty;
4433
this.GetXamlType(typeof(System.Windows.Controls.
DocumentViewer
)), // DeclaringType
src\Framework\System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
3733
typeof(System.Windows.Controls.
DocumentViewer
),
src\Framework\System\Windows\Markup\KnownTypes.cs (1)
5710
case KnownElements.DocumentViewer: t = typeof(System.Windows.Controls.
DocumentViewer
); break;