Skip to main content

SwitchBuilder Class

A Switch control.

Namespace: DevExtreme.AspNet.Mvc.Builders

Assembly: DevExtreme.AspNet.Core.dll

Declaration

public class SwitchBuilder :
    WidgetBuilder

The following members return SwitchBuilder objects:

Show 65 links

Remarks

Call the Switch helper method to create a new Switch control. The method creates a SwitchBuilder class instance whose members allow you to specify control options.

@(Html.DevExtreme().Switch() // create a Switch
    // call methods to specify control options
)

Inheritance

See Also