Create a Control
To create a control:
- Call the
DevExtreme()
HtmlHelper extension method. - Call the control’s builder method.
@(Html.DevExtreme()
.Button() // creates a Button control
)
If you create a control inside a code block, end the configuration with a Render()
method call.
@{
Html.DevExtreme().Button()
// ...
// other Button control options go here
// ...
.Render()
}