Skip to main content

VGridControlBase.SetRowError(RowProperties, String, ErrorType) Method

For the VGridControl, this method sets or clears a cell error within the focused record. For the PropertyGridControl, this method sets an error for the specified row. This overload allows you to assign an error icon along with the error description.

Namespace: DevExpress.XtraVerticalGrid

Assembly: DevExpress.XtraVerticalGrid.v23.2.dll

NuGet Packages: DevExpress.Win.Navigation, DevExpress.Win.VerticalGrid

Declaration

public virtual void SetRowError(
    RowProperties props,
    string errorText,
    ErrorType errorType
)

Parameters

Name Type Description
props RowProperties

A RowProperties object that identifies the target cell.

errorText String

The error description. An empty string to clear the previously assigned error.

errorType ErrorType

The error icon type.

Remarks

See the following topic for more information: VGridControlBase.SetRowError.

See Also