Skip to main content

TooltipBuilder.Content(RazorBlock) Method

Specifies content for a Tooltip control.

Namespace: DevExtreme.AspNet.Mvc.Builders

Assembly: DevExtreme.AspNet.Core.dll

Declaration

public TooltipBuilder Content(
    RazorBlock content
)

Parameters

Name Type Description
content RazorBlock

The Razor @<text> block that specifies content.

Returns

Type Description
TooltipBuilder

A reference to this instance after the method is called.

Remarks

Refer to Use Markup to Specify Content for more information.

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