SwitchBuilder Class
A Switch control.
Namespace: DevExtreme.AspNet.Mvc.Builders
Assembly: DevExtreme.AspNet.Core.dll
Declaration
public class SwitchBuilder :
WidgetBuilder
Related API Members
The following members return SwitchBuilder objects:
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
Object
OptionsOwnerBuilder
WidgetBuilder
SwitchBuilder
See Also