Skip to main content
All docs
V25.2
  • ID

    CardViewBuilder<T>.ElementAttr(Object) Method

    Specifies the global attributes to be attached to the UI component's container element. Mirrors the client-side elementAttr option.

    Namespace: DevExtreme.AspNet.Mvc.Builders

    Assembly: DevExtreme.AspNet.Core.dll

    Declaration

    public CardViewBuilder<T> ElementAttr(
        object htmlAttributes
    )

    Parameters

    Name Type Description
    htmlAttributes Object

    The HTML attributes.

    Returns

    Type Description
    CardViewBuilder<T>

    A reference to this instance after the method is called.

    See Also