[]
        
(Showing Draft Content)

GrapeCity.ActiveReports.Blazor.Viewer.ToolbarItems.UpdateItem

UpdateItem Method

UpdateItem(string, ToolbarItem)

Updates a previously added toolbar item.

Declaration
public Task UpdateItem(string key, ToolbarItem itemUpdate)
Parameters
Type Name Description
string key

The key of the toolbar item to update. This key should match the one used when the item was added.

ToolbarItem itemUpdate

New settings for the toolbar item, which can include changes to its action, icon, text, and other properties.

Returns
Type Description
Task

A task that represents the asynchronous operation of updating the toolbar item.