Skip to main content
Bar

UpdateAction Class

Updates a specific bar or ribbon item’s property with a value specified via the UpdateAction.Value.

Namespace: DevExpress.Xpf.Bars

Assembly: DevExpress.Xpf.Core.v24.2.dll

NuGet Package: DevExpress.Wpf.Core

Declaration

public class UpdateAction :
    BarManagerControllerActionBase

Remarks

This action updates a specific bar or ribbon item’s property (specified via UpdateAction.Property) with a value specified via the UpdateAction.Value.

The code sample below demonstrates how to change the default ribbon item icon with a custom icon.

<dxp:DocumentCommandProvider>
    <dxp:DocumentCommandProvider.RibbonActions>
        <dxb:UpdateAction ElementName="{x:Static dxpbars:DefaultPreviewBarItemNames.Open}" Property="{x:Static dxb:BarItem.LargeGlyphProperty}" Value="{dx:DXImage Image=ExportToPDF_32x32.png}"/>
...

See Bar Actions to learn more.

The following code snippets (auto-collected from DevExpress Examples) contain references to the UpdateAction class.

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.

Implements

See Also