Editar

Compartilhar via


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