編集

次の方法で共有


DataGridView.DataGridViewControlCollection.Clear Method

Definition

Removes all controls from the DataGridView.

public:
 override void Clear();
public override void Clear ();
override this.Clear : unit -> unit
Public Overrides Sub Clear ()

Remarks

The Clear method removes all controls from the DataGridView, except the scroll bars and the editing control.

Applies to

See also