Back to Devexpress

ProgressBarBuilder.ValidationErrors(IEnumerable) Method

aspnetcore-devextreme-dot-aspnet-dot-mvc-dot-builders-dot-progressbarbuilder-dot-validationerrors-x28-system-dot-collections-dot-ienumerable-x29.md

latest1.4 KB
Original Source

ProgressBarBuilder.ValidationErrors(IEnumerable) Method

An array of validation errors. Mirrors the client-side validationErrors option.

Namespace : DevExtreme.AspNet.Mvc.Builders

Assembly : DevExtreme.AspNet.Core.dll

Declaration

csharp
public ProgressBarBuilder ValidationErrors(
    IEnumerable value
)

Parameters

NameTypeDescription
valueIEnumerable

The option value.

|

Returns

TypeDescription
ProgressBarBuilder

A reference to this instance after the method is called.

|

Remarks

Use the following notation to set the option’s value:

cshtml
@(Html.DevExtreme().ProgressBar()
    .ValidationErrors(Model.MyValidationErrors)
)

See Also

ProgressBarBuilder Class

ProgressBarBuilder Members

DevExtreme.AspNet.Mvc.Builders Namespace