Språk

DataGridViewCell.ContentClickUnsharesRow(DataGridViewCellEventArgs) Metod

Definition

Anger om cellens rad kommer att delas upp när cellens innehåll klickas.

protected:
 virtual bool ContentClickUnsharesRow(System::Windows::Forms::DataGridViewCellEventArgs ^ e);
protected virtual bool ContentClickUnsharesRow(System.Windows.Forms.DataGridViewCellEventArgs e);
abstract member ContentClickUnsharesRow : System.Windows.Forms.DataGridViewCellEventArgs -> bool
override this.ContentClickUnsharesRow : System.Windows.Forms.DataGridViewCellEventArgs -> bool
Protected Overridable Function ContentClickUnsharesRow (e As DataGridViewCellEventArgs) As Boolean

Parametrar

Returer

trueom raden kommer att tas bort från delningen, annars . false DataGridViewCell Basklassen returnerar falsealltid .

Kommentarer

Metoden ContentClickUnsharesRow anropas precis före OnContentClick metoden. Den måste returneras true om anropet till OnContentClick har effekten att cellens rad inte kan delas. Annars bör den returnera false.

Mer information om raddelning finns i Best Practices for Scaling the Windows Forms DataGridView Control.

Gäller för

Se även