DXValidationProvider.SetIconAlignment(Control, ErrorIconAlignment) Method

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

Namespace: DevExpress.XtraEditors.DXErrorProvider

Assembly: DevExpress.XtraEditors.v20.1.dll


public void SetIconAlignment(
    Control control,
    ErrorIconAlignment alignment
Public Sub SetIconAlignment(
    control As Control,
    alignment As ErrorIconAlignment


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