Back to Devexpress

PopupBuilder.Content(String) Method

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

latest1.2 KB
Original Source

PopupBuilder.Content(String) Method

Specifies content for a Popup control.

Namespace : DevExtreme.AspNet.Mvc.Builders

Assembly : DevExtreme.AspNet.Core.dll

Declaration

csharp
public PopupBuilder Content(
    string content
)

Parameters

NameTypeDescription
contentString

A string that specifies content.

|

Returns

TypeDescription
PopupBuilder

A reference to this instance after the method is called.

|

Remarks

Refer to Use Markup to Specify Content for more information.

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

See Also

PopupBuilder Class

PopupBuilder Members

DevExtreme.AspNet.Mvc.Builders Namespace