'Declaration
<SRCategoryAttribute("CatMouse")> <SRDescriptionAttribute("DataGridView_ColumnHeaderMouseClickDescr")> Public Event ColumnHeaderMouseClick As System.Windows.Forms.DataGridViewCellMouseEventHandler
'Usage
Dim instance As NDataGridView Dim handler As System.Windows.Forms.DataGridViewCellMouseEventHandler AddHandler instance.ColumnHeaderMouseClick, handler
[SRCategory("CatMouse")] [SRDescription("DataGridView_ColumnHeaderMouseClickDescr")] public event System.Windows.Forms.DataGridViewCellMouseEventHandler ColumnHeaderMouseClick
Event Data
The event handler receives an argument of type System.Windows.Forms.DataGridViewCellMouseEventArgs containing data related to this event. The following DataGridViewCellMouseEventArgs properties provide information specific to this event.
Property | Description |
---|---|
Button | (Inherited from System.Windows.Forms.MouseEventArgs) |
Clicks | (Inherited from System.Windows.Forms.MouseEventArgs) |
ColumnIndex | Gets the zero-based column index of the cell. |
Delta | (Inherited from System.Windows.Forms.MouseEventArgs) |
Location | (Inherited from System.Windows.Forms.MouseEventArgs) |
RowIndex | Gets the zero-based row index of the cell. |
X | (Inherited from System.Windows.Forms.MouseEventArgs) |
Y | (Inherited from System.Windows.Forms.MouseEventArgs) |
Requirements
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
See Also