Skip to main content

SortableBuilder.Content(RazorBlock) Method

Specifies content for a Sortable control.

Namespace: DevExtreme.AspNet.Mvc.Builders

Assembly: DevExtreme.AspNet.Core.dll

Declaration

public SortableBuilder Content(
    RazorBlock content
)

Parameters

Name Type Description
content RazorBlock

The Razor @<text> block that specifies content.

Returns

Type Description
SortableBuilder

A reference to this instance after the method is called.

Remarks

Refer to Use Markup to Specify Content for more information.

@(Html.DevExtreme().Sortable()
    .Content(@<text>
        <p>Sortable content</p>
    </text>)
)
See Also