Skip to main content
API

ResizableBuilder.Content(RazorBlock) Method

Specifies content for a Resizable control.

Namespace: DevExtreme.AspNet.Mvc.Builders

Assembly: DevExtreme.AspNet.Core.dll

Declaration

public ResizableBuilder Content(
    RazorBlock content
)

Parameters

Name Type Description
content RazorBlock

The Razor @<text> block that specifies content.

Returns

Type Description
ResizableBuilder

A reference to this instance after the method is called.

Remarks

You can specify the content for this component directly in the markup.

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