ErrorProvider.GetIconAlignment(Control) Methode

Definitie

Hiermee wordt een waarde opgehaald die aangeeft waar het foutpictogram moet worden geplaatst ten opzichte van het besturingselement.

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

Parameters

control
Control

Het besturingselement voor het ophalen van de pictogramlocatie.

Retouren

Een van de ErrorIconAlignment waarden. De standaardpictogramuitlijning is MiddleRight.

Uitzonderingen

control is null.

Van toepassing op

Zie ook