ActiveReports 19 .NET Edition
MESCIUS.ActiveReports.Blazor.Viewer Assembly / GrapeCity.ActiveReports.Blazor.Viewer Namespace / ToolbarItems Class / UpdateItem Method
The key of the toolbar item to update. This key should match the one used when the item was added.
New settings for the toolbar item, which can include changes to its action, icon, text, and other properties.

In This Topic
    UpdateItem Method
    In This Topic
    Updates a previously added toolbar item.
    Syntax
    'Declaration
     
    Public Function UpdateItem( _
       ByVal key As String, _
       ByVal itemUpdate As ToolbarItem _
    ) As Task
    public Task UpdateItem( 
       string key,
       ToolbarItem itemUpdate
    )

    Parameters

    key
    The key of the toolbar item to update. This key should match the one used when the item was added.
    itemUpdate
    New settings for the toolbar item, which can include changes to its action, icon, text, and other properties.

    Return Value

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