Back to Devexpress

ReportDesigner.RibbonCustomizationActions Property

wpf-devexpress-dot-xpf-dot-reports-dot-userdesigner-dot-reportdesigner-c08be6d2.md

latest3.3 KB
Original Source

ReportDesigner.RibbonCustomizationActions Property

Provides access to the collection of actions corresponding to the commands available on the Report Designer‘s toolbar.

Namespace : DevExpress.Xpf.Reports.UserDesigner

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

NuGet Package : DevExpress.Wpf.Reporting

Declaration

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

Property Value

TypeDescription
ObservableCollection<IControllerAction>

A dynamic data collection of objects implementing the IControllerAction interface.

|

Remarks

The following example illustrates how to access the Report Designer’s collection of actions in XAML.

xaml
...
<dxrud:ReportDesigner x:Name="reportDesigner" >
    <dxrud:ReportDesigner.RibbonCustomizationActions>
    </dxrud:ReportDesigner.RibbonCustomizationActions>
</dxrud:ReportDesigner>
...

To learn more, see Customizing the Report Designer Toolbar.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the RibbonCustomizationActions 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-report-designer-customize-ribbon-toolbar/CS/MainWindow.xaml#L12

xml
<dxrud:ReportDesigner x:Name="reportDesigner">
    <dxrud:ReportDesigner.RibbonCustomizationActions>
        <dxb:RemoveAction ElementName="{x:Static dxrud:DefaultBarItemNames.SaveAs}" />

See Also

Customize the Report Designer Toolbar

ReportDesigner Class

ReportDesigner Members

DevExpress.Xpf.Reports.UserDesigner Namespace