13 references to CancelPrint
PresentationFramework (13)
System\Windows\Controls\FlowDocumentReader.cs (4)
1348
CommandHelpers.RegisterCommandHandler(typeof(FlowDocumentReader), ApplicationCommands.
CancelPrint
,
1419
else if (args.Command == ApplicationCommands.
CancelPrint
)
1430
args.CanExecute = (args.Command == ApplicationCommands.
CancelPrint
);
1457
else if (args.Command == ApplicationCommands.
CancelPrint
)
System\Windows\Controls\FlowDocumentScrollViewer.cs (4)
1350
CommandHelpers.RegisterCommandHandler(typeof(FlowDocumentScrollViewer), ApplicationCommands.
CancelPrint
,
1421
else if (args.Command == ApplicationCommands.
CancelPrint
)
1432
args.CanExecute = (args.Command == ApplicationCommands.
CancelPrint
);
1458
else if (args.Command == ApplicationCommands.
CancelPrint
)
System\Windows\Controls\Primitives\DocumentViewerBase.cs (3)
1488
CommandHelpers.RegisterCommandHandler(typeof(DocumentViewerBase), ApplicationCommands.
CancelPrint
,
1515
else if (args.Command == ApplicationCommands.
CancelPrint
)
1583
else if (args.Command == ApplicationCommands.
CancelPrint
)
System\Windows\Controls\SinglePageViewer.cs (1)
1353
if (args.Command != ApplicationCommands.
CancelPrint
)
System\Windows\Input\Command\CommandConverter.cs (1)
356
knownCommand = ApplicationCommands.
CancelPrint
;