The requested page is not available for the requested platform. You are viewing the content for Default platform.

SwitchBuilder.ValidationMessageMode(ValidationMessageMode) Method

This method sets the client-side validationMessageMode option.

Namespace: DevExtreme.AspNet.Mvc.Builders

Assembly: DevExtreme.AspNet.Core.dll

Declaration

public SwitchBuilder ValidationMessageMode(
    ValidationMessageMode value
)

Parameters

Name Type Description
value ValidationMessageMode

Returns

Type Description
SwitchBuilder

Remarks

In Razor files, use the following notation to set the option's value:

@Html.DevExtreme().Switch().ValidationMessageMode(...)
See Also