Skip to main content
A newer version of this page is available. .

DXValidationProvider.GetIconAlignment(Control) Method

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

Namespace: DevExpress.XtraEditors.DXErrorProvider

Assembly: DevExpress.XtraEditors.v19.2.dll

Declaration

[DefaultValue(ErrorIconAlignment.MiddleLeft)]
public ErrorIconAlignment GetIconAlignment(
    Control control
)

Parameters

Name Type Description
control Control

A target control.

Returns

Type Default Description
ErrorIconAlignment **MiddleLeft**

An ErrorIconAlignment value.

See Also