DXValidationProvider.GetIconAlignment(Control) Method

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

Namespace: DevExpress.XtraEditors.DXErrorProvider

Assembly: DevExpress.XtraEditors.v20.1.dll

Declaration

[DefaultValue(ErrorIconAlignment.MiddleLeft)]
public ErrorIconAlignment GetIconAlignment(
    Control control
)
<DefaultValue(ErrorIconAlignment.MiddleLeft)>
Public Function GetIconAlignment(
    control As Control
) As ErrorIconAlignment

Parameters

Name Type Description
control Control

A target control.

Returns

Type Default Description
ErrorIconAlignment

MiddleLeft

An ErrorIconAlignment value.

See Also