Skip to main content

DXValidationProvider.SetIconAlignment(Control, ErrorIconAlignment) Method

Sets the alignment of an error icon for the specified control.

Namespace: DevExpress.XtraEditors.DXErrorProvider

Assembly: DevExpress.XtraEditors.v23.2.dll

NuGet Package: DevExpress.Win.Navigation

Declaration

public void SetIconAlignment(
    Control control,
    ErrorIconAlignment alignment
)

Parameters

Name Type Description
control Control

A target control.

alignment ErrorIconAlignment

An ErrorIconAlignment value that specifies the alignment to be set for the control.

See Also