ErrorProvider.GetIconAlignment(Control) Yöntem

Tanım

Hata simgesinin denetimle ilişkili olarak yerleştirilmesi gereken yeri belirten bir değer alır.

public:
 System::Windows::Forms::ErrorIconAlignment GetIconAlignment(System::Windows::Forms::Control ^ control);
public System.Windows.Forms.ErrorIconAlignment GetIconAlignment (System.Windows.Forms.Control control);
member this.GetIconAlignment : System.Windows.Forms.Control -> System.Windows.Forms.ErrorIconAlignment
Public Function GetIconAlignment (control As Control) As ErrorIconAlignment

Parametreler

control
Control

Simge konumunu almak için denetim.

Döndürülenler

ErrorIconAlignment

Değerlerden ErrorIconAlignment biri. Varsayılan simge hizalaması şeklindedir MiddleRight.

Özel durumlar

control, null değeridir.

Şunlara uygulanır

Ayrıca bkz.