PopupBuilder.Content(RazorBlock) Method
Specifies content for a Popup control.
Namespace: DevExtreme.AspNet.Mvc.Builders
Assembly: DevExtreme.AspNet.Core.dll
Declaration
public PopupBuilder Content(
RazorBlock content
)
Parameters
Name | Type | Description |
---|---|---|
content | RazorBlock | The Razor |
Returns
Type | Description |
---|---|
PopupBuilder | A reference to this instance after the method is called. |
Remarks
Refer to Use Markup to Specify Content for more information.
@(Html.DevExtreme().Popup()
.Content(@<text>
<p>Popup content</p>
</text>)
)
See Also