Create a Control

To create a control:

  1. Call the DevExtreme() HtmlHelper extension method.
  2. Call the control's builder method.
@(Html.DevExtreme()
    .Button()
)

If you create a control inside a code block, end the configuration with a Render() method call.

@{
    Html.DevExtreme().Button()
        .Text("Submit")
        .Render()
}