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

ErrorIconAlignment 値のいずれか 1 つ。 既定のアイコンの配置は MiddleRight です。

例外

controlnullです。

適用対象

こちらもご覧ください