Show / Hide Table of Contents

Class DataGridAutoGeneratingColumnEventArgs

Provides data for the AutoGeneratingColumn event.

Inheritance
System.Object
System.EventArgs
System.ComponentModel.CancelEventArgs
DataGridAutoGeneratingColumnEventArgs
Inherited Members
System.ComponentModel.CancelEventArgs.Cancel
System.EventArgs.Empty
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: System.Windows.Controls
Assembly: OpenSilver.Controls.Data.dll
Syntax
public class DataGridAutoGeneratingColumnEventArgs : CancelEventArgs

Constructors

| Improve this Doc View Source

DataGridAutoGeneratingColumnEventArgs(String, Type, DataGridColumn)

Initializes a new instance of the DataGridAutoGeneratingColumnEventArgs class.

Declaration
public DataGridAutoGeneratingColumnEventArgs(string propertyName, Type propertyType, DataGridColumn column)
Parameters
Type Name Description
System.String propertyName

The name of the property bound to the generated column.

System.Type propertyType

The System.Type of the property bound to the generated column.

DataGridColumn column

The generated column.

Properties

| Improve this Doc View Source

Column

Gets the generated column.

Declaration
public DataGridColumn Column { get; set; }
Property Value
Type Description
DataGridColumn
| Improve this Doc View Source

PropertyName

Gets the name of the property bound to the generated column.

Declaration
public string PropertyName { get; }
Property Value
Type Description
System.String
| Improve this Doc View Source

PropertyType

Gets the System.Type of the property bound to the generated column.

Declaration
public Type PropertyType { get; }
Property Value
Type Description
System.Type
  • Improve this Doc
  • View Source