ErrorProvider::GetIconAlignment Method (Control^)

 

Gets a value indicating where the error icon should be placed in relation to the control.

Namespace:   System.Windows.Forms
Assembly:  System.Windows.Forms (in System.Windows.Forms.dll)

public:
ErrorIconAlignment GetIconAlignment(
	Control^ control
)

Parameters

control
Type: System.Windows.Forms::Control^

The control to get the icon location for.

Return Value

Type: System.Windows.Forms::ErrorIconAlignment

One of the ErrorIconAlignment values. The default icon alignment is MiddleRight.

Exception Condition
ArgumentNullException

control is null.

.NET Framework
Available since 1.1
Return to top
Show: