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