Back to Devexpress

CommandProvider.RibbonActions Property

wpf-devexpress-dot-xpf-dot-documentviewer-dot-commandprovider-eea87559.md

latest3.0 KB
Original Source

CommandProvider.RibbonActions Property

Provides access to the collection of actions when using a ribbon toolbar.

Namespace : DevExpress.Xpf.DocumentViewer

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

NuGet Package : DevExpress.Wpf.DocumentViewer.Core

Declaration

csharp
public ObservableCollection<IControllerAction> RibbonActions { get; set; }
vb
Public Property RibbonActions As ObservableCollection(Of IControllerAction)

Property Value

TypeDescription
ObservableCollection<IControllerAction>

A collection of actions.

|

Remarks

To learn more, see Customizing the Document Preview Toolbar.

The following code snippets (auto-collected from DevExpress Examples) contain references to the RibbonActions 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.

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

xml
<dxp:DocumentCommandProvider>
    <dxp:DocumentCommandProvider.RibbonActions>

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

xml
<dxpdf:PdfCommandProvider>
    <dxpdf:PdfCommandProvider.RibbonActions>
        <dxr:InsertRibbonPageGroupAction PageName="{x:Static dxpdf:DefaultPdfBarManagerItemNames.MainRibbonPage}" Index="4">

See Also

Customize the Document Preview Toolbar

CommandProvider Class

CommandProvider Members

DevExpress.Xpf.DocumentViewer Namespace