Horje
C# Datagridview Column Header Double Click Code Example
C# Datagridview Column Header Double Click
// If you want the event to NOT work on Header Double Click
private void itemsList_CellDoubleClick(object sender, DataGridViewCellEventArgs e)
{
    if(e.RowIndex>-1)
        HereIsNotHeader();
}

// If you want the event to ONLY work on Header Double Click
private void itemsList_CellDoubleClick(object sender, DataGridViewCellEventArgs e)
{
    if(e.RowIndex == -1)
        HereIsHeader();
}




Csharp

Related
c# check if object is of any generic type Code Example c# check if object is of any generic type Code Example
C# JOSN Array Conversion Code Example C# JOSN Array Conversion Code Example
c# winscp upload file Code Example c# winscp upload file Code Example
windows forms webbrowser goback Code Example windows forms webbrowser goback Code Example
how to start grid from where the data starts in c# charts Code Example how to start grid from where the data starts in c# charts Code Example

Type:
Code Example
Category:
Coding
Sub Category:
Code Example
Uploaded by:
Admin
Views:
12