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

TextBoxBuilder.MaskRules(Object) Method

This method sets the client-side maskRules option.

Namespace: DevExtreme.AspNet.Mvc.Builders

Assembly: DevExtreme.AspNet.Core.dll

Declaration

public TextBoxBuilder MaskRules(
    object value
)

Parameters

Name Type Description
value Object

Returns

Type Description
TextBoxBuilder

Remarks

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

@Html.DevExtreme().TextBox().MaskRules(...)
See Also