Skip to main content

DXValidationProvider.GetIconAlignment(Control) Method

Retrieves 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

[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