Export (0) Print
Expand All

ErrorProvider.GetIconAlignment Method

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

[Visual Basic]
Public Function GetIconAlignment( _
   ByVal control As Control _
) As ErrorIconAlignment
[C#]
public ErrorIconAlignment GetIconAlignment(
 Control control
);
[C++]
public: ErrorIconAlignment GetIconAlignment(
 Control* control
);
[JScript]
public function GetIconAlignment(
   control : Control
) : ErrorIconAlignment;

Parameters

control
The control to get the icon location for.

Return Value

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

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also

ErrorProvider Class | ErrorProvider Members | System.Windows.Forms Namespace | SetIconPadding | SetIconAlignment

Show:
© 2014 Microsoft