Back to Devexpress

DocumentViewerControl.CommandProvider Property

wpf-devexpress-dot-xpf-dot-documentviewer-dot-documentviewercontrol-9094fc99.md

latest2.9 KB
Original Source

DocumentViewerControl.CommandProvider Property

Specifies a Document Viewer’s command provider. This is a dependency property.

Namespace : DevExpress.Xpf.DocumentViewer

Assembly : DevExpress.Xpf.DocumentViewer.v25.2.Core.dll

NuGet Package : DevExpress.Wpf.DocumentViewer.Core

Declaration

csharp
public CommandProvider CommandProvider { get; set; }
vb
Public Property CommandProvider As CommandProvider

Property Value

TypeDescription
CommandProvider

A CommandProvider object.

|

The following code snippets (auto-collected from DevExpress Examples) contain references to the CommandProvider 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-replace-standard-command-with-custom-command/CS/MainWindow.xaml#L21

xml
<pdfViewer:PdfViewerControl.CommandProvider>
    <local:CustomPdfCommandProvider />

reporting-wpf-documentpreviewcontrol-customize-toolbar/CS/MainWindow.xaml#L18

xml
<dxp:DocumentPreviewControl Name="preview">
    <dxp:DocumentPreviewControl.CommandProvider>
        <dxp:DocumentCommandProvider>

how-to-determine-the-page-content-type-under-the-mouse-pointer/CS/DetermineContentType/MainWindow.xaml#L14

xml
<dxpdf:PdfViewerControl x:Name="viewer" MouseMove="viewer_MouseMove" >
    <dxpdf:PdfViewerControl.CommandProvider>
        <dxpdf:PdfCommandProvider>

See Also

DocumentViewerControl Class

DocumentViewerControl Members

DevExpress.Xpf.DocumentViewer Namespace