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