SwitchBuilder(OptionsOwnerContext) Constructor
In This Article
For internal use only. Initializes a new SwitchBuilder class instance.
Namespace: DevExtreme.AspNet.Mvc.Builders
Assembly: DevExtreme.AspNet.Core.dll
#Declaration
C#
public SwitchBuilder(
OptionsOwnerContext context
)
#Parameters
Name | Type | Description |
---|---|---|
context | Options |
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