wpf-devexpress-dot-xpf-dot-documentviewer-dot-commandprovider-eea87559.md
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
public ObservableCollection<IControllerAction> RibbonActions { get; set; }
Public Property RibbonActions As ObservableCollection(Of IControllerAction)
| Type | Description |
|---|---|
| ObservableCollection<IControllerAction> |
A collection of actions.
|
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
<dxp:DocumentCommandProvider>
<dxp:DocumentCommandProvider.RibbonActions>
<dxpdf:PdfCommandProvider>
<dxpdf:PdfCommandProvider.RibbonActions>
<dxr:InsertRibbonPageGroupAction PageName="{x:Static dxpdf:DefaultPdfBarManagerItemNames.MainRibbonPage}" Index="4">
See Also