DataGridTableStyle.CreateGridColumn Methode

Definition

Erstellt eine DataGridColumnStyle.

Überlädt

Name Beschreibung
CreateGridColumn(PropertyDescriptor)

Erstellt einen DataGridColumnStyle, mit dem angegebenen Eigenschaftsdeskriptor.

CreateGridColumn(PropertyDescriptor, Boolean)

Erstellt einen DataGridColumnStyle using the specified property descriptor. Gibt an, ob es DataGridColumnStyle sich um eine Standardspaltenformatvorlage handelt.

CreateGridColumn(PropertyDescriptor)

Quelle:
DataGridTableStyle.cs
Quelle:
DataGridTableStyle.cs

Erstellt einen DataGridColumnStyle, mit dem angegebenen Eigenschaftsdeskriptor.

protected public:
 virtual System::Windows::Forms::DataGridColumnStyle ^ CreateGridColumn(System::ComponentModel::PropertyDescriptor ^ prop);
protected internal virtual System.Windows.Forms.DataGridColumnStyle CreateGridColumn(System.ComponentModel.PropertyDescriptor prop);
abstract member CreateGridColumn : System.ComponentModel.PropertyDescriptor -> System.Windows.Forms.DataGridColumnStyle
override this.CreateGridColumn : System.ComponentModel.PropertyDescriptor -> System.Windows.Forms.DataGridColumnStyle
Protected Friend Overridable Function CreateGridColumn (prop As PropertyDescriptor) As DataGridColumnStyle

Parameter

prop
PropertyDescriptor

Wird PropertyDescriptor verwendet, um das Spaltenformatobjekt zu erstellen.

Gibt zurück

Die neu erstellte DataGridColumnStyle.

Gilt für:

CreateGridColumn(PropertyDescriptor, Boolean)

Quelle:
DataGridTableStyle.cs
Quelle:
DataGridTableStyle.cs

Erstellt einen DataGridColumnStyle using the specified property descriptor. Gibt an, ob es DataGridColumnStyle sich um eine Standardspaltenformatvorlage handelt.

protected public:
 virtual System::Windows::Forms::DataGridColumnStyle ^ CreateGridColumn(System::ComponentModel::PropertyDescriptor ^ prop, bool isDefault);
protected internal virtual System.Windows.Forms.DataGridColumnStyle CreateGridColumn(System.ComponentModel.PropertyDescriptor prop, bool isDefault);
abstract member CreateGridColumn : System.ComponentModel.PropertyDescriptor * bool -> System.Windows.Forms.DataGridColumnStyle
override this.CreateGridColumn : System.ComponentModel.PropertyDescriptor * bool -> System.Windows.Forms.DataGridColumnStyle
Protected Friend Overridable Function CreateGridColumn (prop As PropertyDescriptor, isDefault As Boolean) As DataGridColumnStyle

Parameter

prop
PropertyDescriptor

Wird PropertyDescriptor verwendet, um das Spaltenformatobjekt zu erstellen.

isDefault
Boolean

Gibt an, ob es DataGridColumnStyle sich um eine Standardspaltenformatvorlage handelt. Dieser Parameter ist schreibgeschützt.

Gibt zurück

Die neu erstellte DataGridColumnStyle.

Gilt für: