The requested page is not available for the requested platform. You are viewing the content for Default platform.

TagBoxBuilder.ElementAttr(String, Object) Method

This method sets the client-side elementAttr option.

Namespace: DevExtreme.AspNet.Mvc.Builders

Assembly: DevExtreme.AspNet.Core.dll

Declaration

public TagBoxBuilder ElementAttr(
    string attributeName,
    object value
)

Parameters

Name Type Description
attributeName String
value Object

Returns

Type Description
TagBoxBuilder

Remarks

In Razor files, use the following notation to set the option's value:

@Html.DevExtreme().TagBox().ElementAttr(...)
See Also