DataGridAutoGeneratingColumnEventArgs 类

定义

AutoGeneratingColumn 事件提供数据。Provides data for the AutoGeneratingColumn event.

public ref class DataGridAutoGeneratingColumnEventArgs : EventArgs
public class DataGridAutoGeneratingColumnEventArgs : EventArgs
type DataGridAutoGeneratingColumnEventArgs = class
    inherit EventArgs
Public Class DataGridAutoGeneratingColumnEventArgs
Inherits EventArgs
继承
DataGridAutoGeneratingColumnEventArgs

构造函数

DataGridAutoGeneratingColumnEventArgs(String, Type, DataGridColumn)

初始化 DataGridAutoGeneratingColumnEventArgs 类的新实例。Initializes a new instance of the DataGridAutoGeneratingColumnEventArgs class.

属性

Cancel

获取或设置指示是否应取消事件的值。Gets or sets a value that indicates whether the event should be canceled.

Column

获取或设置所生成的列。Gets or sets the generated column.

PropertyDescriptor

获取绑定到所生成列的属性的说明符。Gets the descriptor of the property bound to the generated column.

PropertyName

获取绑定到所生成列的属性的名称。Gets the name of the property bound to the generated column.

PropertyType

获取绑定到所生成列的属性的类型。Gets the type of the property bound to the generated column.

方法

Equals(Object)

确定指定的对象是否等于当前对象。Determines whether the specified object is equal to the current object.

(继承自 Object)
GetHashCode()

用作默认哈希函数。Serves as the default hash function.

(继承自 Object)
GetType()

获取当前实例的 TypeGets the Type of the current instance.

(继承自 Object)
MemberwiseClone()

创建当前 Object 的浅表副本。Creates a shallow copy of the current Object.

(继承自 Object)
ToString()

返回一个表示当前对象的 string。Returns a string that represents the current object.

(继承自 Object)

适用于