ObjectFileSystemProviderBuilder.Data(IEnumerable) Method
Specifies an array of data objects that represent files and directories. Mirrors the client-side data option.
Namespace: DevExtreme.AspNet.Mvc.Builders
Assembly: DevExtreme.AspNet.Core.dll
Declaration
public ObjectFileSystemProviderBuilder Data(
IEnumerable data
)
Parameters
Name | Type | Description |
---|---|---|
data | IEnumerable | A collection that supplies data for the Object file system provider. |
Returns
Type | Description |
---|---|
ObjectFileSystemProviderBuilder | A reference to this instance after the method is called. |
Remarks
Use the following notation to set the option’s value:
@(Html.DevExtreme().FileManager()
.FileSystemProvider(provider => provider.Object()
.Data(Model.MyDataObjects)
)
)
See Also