Back to Devexpress

PdfViewerControl.SaveAsCommand Property

wpf-devexpress-dot-xpf-dot-pdfviewer-dot-pdfviewercontrol-a9992cf6.md

latest2.5 KB
Original Source

PdfViewerControl.SaveAsCommand Property

Invokes the Save As dialog box.

Namespace : DevExpress.Xpf.PdfViewer

Assembly : DevExpress.Xpf.PdfViewer.v25.2.dll

NuGet Package : DevExpress.Wpf.PdfViewer

Declaration

csharp
public ICommand SaveAsCommand { get; }
vb
Public ReadOnly Property SaveAsCommand As ICommand

Property Value

TypeDescription
ICommand

A command that implements the ICommand.

|

Remarks

To learn more about using commands, refer to MSDN.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the SaveAsCommand property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

wpf-pdf-viewer-customize-the-popup-menu/CS/MainWindow.xaml.cs#L30

csharp
barButtonItem.Content = "Save As...";
barButtonItem.Command = viewer.SaveAsCommand;
InsertAction insertBarButtonItem = new InsertAction();

wpf-pdf-viewer-customize-the-popup-menu/VB/MainWindow.xaml.vb#L32

vb
barButtonItem.Content = "Save As..."
barButtonItem.Command = viewer.SaveAsCommand
Dim insertBarButtonItem As New InsertAction()

See Also

PdfViewerControl Class

PdfViewerControl Members

DevExpress.Xpf.PdfViewer Namespace