Skip to main content
All docs
V25.2
  • CardViewToolbarItemBuilder.Widget(Func<ToolbarItemFactory, WidgetBuilder>) Method

    The DevExtreme component to use as a Toolbar item. Mirrors the client-side widget option.

    Namespace: DevExtreme.AspNet.Mvc.Builders

    Assembly: DevExtreme.AspNet.Core.dll

    Declaration

    public CardViewToolbarItemBuilder Widget(
        Func<ToolbarItemFactory, WidgetBuilder> widgetFactory
    )

    Parameters

    Name Type Description
    widgetFactory Func<ToolbarItemFactory, WidgetBuilder>

    A function that creates and configures a widget.

    Returns

    Type Description
    CardViewToolbarItemBuilder

    A reference to this instance after the method is called.

    See Also