Skip to main content

SwitchBuilder(OptionsOwnerContext) Constructor

For internal use only. Initializes a new SwitchBuilder class instance.

Namespace: DevExtreme.AspNet.Mvc.Builders

Assembly: DevExtreme.AspNet.Core.dll

Declaration

public SwitchBuilder(
    OptionsOwnerContext context
)

Parameters

Name Type Description
context OptionsOwnerContext

For internal use only.

Remarks

Do not use this constructor explicitly. To create a new Switch control, use the Switch helper method:

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