Back to Devexpress

TooltipBuilder.Target(String) Method

aspnetcore-devextreme-dot-aspnet-dot-mvc-dot-builders-dot-tooltipbuilder-dot-target-x28-system-dot-string-x29.md

latest1.3 KB
Original Source

TooltipBuilder.Target(String) Method

Specifies the element against which to position the widget. If target is undefined, the component cannot be displayed. Mirrors the client-side target option.

Namespace : DevExtreme.AspNet.Mvc.Builders

Assembly : DevExtreme.AspNet.Core.dll

Declaration

csharp
public TooltipBuilder Target(
    string value
)

Parameters

NameTypeDescription
valueString

The option value.

|

Returns

TypeDescription
TooltipBuilder

A reference to this instance after the method is called.

|

Remarks

Use the following notation to set the option’s value:

cshtml
@(Html.DevExtreme().Tooltip()
    .Target("#elementId")
)

See Also

TooltipBuilder Class

TooltipBuilder Members

DevExtreme.AspNet.Mvc.Builders Namespace