DataGridViewColumnEventHandler 委托

定义

表示将处理 DataGridView 的列相关事件的方法。Represents the method that will handle column-related events of a DataGridView.

public delegate void DataGridViewColumnEventHandler(System::Object ^ sender, DataGridViewColumnEventArgs ^ e);
public delegate void DataGridViewColumnEventHandler(object sender, DataGridViewColumnEventArgs e);
type DataGridViewColumnEventHandler = delegate of obj * DataGridViewColumnEventArgs -> unit
Public Delegate Sub DataGridViewColumnEventHandler(sender As Object, e As DataGridViewColumnEventArgs)

参数

sender
Object

事件源。The source of the event.

e
DataGridViewColumnEventArgs

包含事件数据的 DataGridViewColumnEventArgsA DataGridViewColumnEventArgs that contains the event data.

继承
DataGridViewColumnEventHandler

注解

DataGridViewColumnEventArgs为以下DataGridView事件提供数据:DataGridViewColumnEventArgs provides data for the following DataGridView events:

扩展方法

GetMethodInfo(Delegate)

获取指示指定委托表示的方法的对象。Gets an object that represents the method represented by the specified delegate.

适用于

另请参阅