Skip to main content

WidgetFactory<TModel>.Button() Method

Creates a Button control.

Namespace: DevExtreme.AspNet.Mvc.Factories

Assembly: DevExtreme.AspNet.Core.dll

Declaration

public ButtonBuilder Button()

Returns

Type Description
ButtonBuilder

An instance of ButtonBuilder.

Remarks

This method creates a ButtonBuilder class instance whose members can be used to specify Button options.

@(Html.DevExtreme().Button() // create a Button
    // call methods to specify control options
)
See Also