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.v26.1.dll
NuGet Package: DevExpress.Wpf.Core
Declaration
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.
Implements
Inheritance
See Also