ErrorProvider::GetIconAlignment Method (Control^)
.NET Framework (current version)
Gets a value indicating where the error icon should be placed in relation to the control.
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Parameters
- control
-
Type:
System.Windows.Forms::Control^
The control to get the icon location for.
Return Value
Type: System.Windows.Forms::ErrorIconAlignmentOne of the ErrorIconAlignment values. The default icon alignment is MiddleRight.
| Exception | Condition |
|---|---|
| ArgumentNullException | control is null. |
.NET Framework
Available since 1.1
Available since 1.1
Show: