Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

SwitchBuilder(OptionsOwnerContext) Constructor

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 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