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

TagBoxBuilder.DataSource(Func<DataSourceFactory, OptionsOwnerBuilder>) Method

This method sets the client-side dataSource option.

Namespace: DevExtreme.AspNet.Mvc.Builders

Assembly: DevExtreme.AspNet.Core.dll

Declaration

public TagBoxBuilder DataSource(
    Func<DataSourceFactory, OptionsOwnerBuilder> configurator
)

Parameters

Name Type Description
configurator Func<DataSourceFactory, OptionsOwnerBuilder>

Returns

Type Description
TagBoxBuilder

Remarks

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

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