CardViewBuilder<T>.ElementAttr(String, 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(
string attributeName,
object value
)
Parameters
| Name | Type | Description |
|---|---|---|
| attributeName | String | The attribute name. |
| value | Object | The attribute value. |
Returns
| Type | Description |
|---|---|
| CardViewBuilder<T> | A reference to this instance after the method is called. |
See Also