ErrorProvider.GetIconAlignment(Control) メソッド

定義

コントロールに関連してエラー アイコンを配置する場所を示す値を取得します。

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

パラメーター

control
Control

アイコンの場所を取得するコントロール。

返品

ErrorIconAlignment値の 1 つ。 既定のアイコンの配置は MiddleRight

例外

controlnullです。

適用対象

こちらもご覧ください