Back to Devexpress

ScrollViewBuilder.Content(String) Method

aspnetcore-devextreme-dot-aspnet-dot-mvc-dot-builders-dot-scrollviewbuilder-dot-content-x28-system-dot-string-x29.md

latest1.3 KB
Original Source

ScrollViewBuilder.Content(String) Method

Specifies content for a ScrollView control.

Namespace : DevExtreme.AspNet.Mvc.Builders

Assembly : DevExtreme.AspNet.Core.dll

Declaration

csharp
public ScrollViewBuilder Content(
    string content
)

Parameters

NameTypeDescription
contentString

A string that specifies content.

|

Returns

TypeDescription
ScrollViewBuilder

A reference to this instance after the method is called.

|

Remarks

Refer to Use Markup to Specify Content for more information.

cshtml
@(Html.DevExtreme().ScrollView()
    .Content("<p>ScrollView content</p>")
)

See Also

ScrollViewBuilder Class

ScrollViewBuilder Members

DevExtreme.AspNet.Mvc.Builders Namespace