Skip to main content
API

PopupBuilder.Content(String) Method

Specifies content for a Popup control.

Namespace: DevExtreme.AspNet.Mvc.Builders

Assembly: DevExtreme.AspNet.Core.dll

Declaration

public PopupBuilder Content(
    string content
)

Parameters

Name Type Description
content String

A string that specifies content.

Returns

Type Description
PopupBuilder

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().Popup()
    .Content("<p>Popup content</p>")
)
See Also