Class TableViewAutoGeneratingColumnEventArgs
Provides data for the AutoGeneratingColumn event.
public class TableViewAutoGeneratingColumnEventArgs : CancelEventArgs
- Inheritance
-
objectEventArgsCancelEventArgsTableViewAutoGeneratingColumnEventArgs
Constructors
TableViewAutoGeneratingColumnEventArgs(string, Type?, TableViewColumn)
Initializes a new instance of the TableViewAutoGeneratingColumnEventArgs class.
public TableViewAutoGeneratingColumnEventArgs(string propertyName, Type? propertyType, TableViewColumn column)
Parameters
propertyNamestringThe name of the property for which the column is being generated.
propertyTypeTypeThe type of the property for which the column is being generated.
columnTableViewColumnThe column that is being generated.
Properties
Column
Gets or sets the column that is being generated.
public TableViewColumn Column { get; set; }
Property Value
PropertyName
Gets the name of the property for which the column is being generated.
public string PropertyName { get; }
Property Value
- string
PropertyType
Gets the type of the property for which the column is being generated.
public Type? PropertyType { get; }
Property Value
- Type