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

TextAreaBuilder.ReadOnly(JS) Method

This method sets the client-side readOnly option.

Namespace: DevExtreme.AspNet.Mvc.Builders

Assembly: DevExtreme.AspNet.Core.dll

Declaration

public TextAreaBuilder ReadOnly(
    JS value
)

Parameters

Name Type Description
value JS

Returns

Type Description
TextAreaBuilder

Remarks

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

@Html.DevExtreme().TextArea().ReadOnly(...)
See Also