DataGrid.CreateGridColumn Yöntem

Tanım

Denetime eklenen yeni DataGridColumnStyle bir oluşturur.

Aşırı Yüklemeler

CreateGridColumn(PropertyDescriptor, Boolean)

Belirtilen PropertyDescriptorkullanarak bir DataGridColumnStyle oluşturur.

CreateGridColumn(PropertyDescriptor)

Belirtilen PropertyDescriptorile yeni DataGridColumnStyle bir oluşturur.

CreateGridColumn(PropertyDescriptor, Boolean)

Belirtilen PropertyDescriptorkullanarak bir DataGridColumnStyle oluşturur.

protected:
 virtual System::Windows::Forms::DataGridColumnStyle ^ CreateGridColumn(System::ComponentModel::PropertyDescriptor ^ prop, bool isDefault);
protected 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 Overridable Function CreateGridColumn (prop As PropertyDescriptor, isDefault As Boolean) As DataGridColumnStyle

Parametreler

prop
PropertyDescriptor

PropertyDescriptor Kılavuz sütun stilini oluşturmak için kullanılacak.

isDefault
Boolean

true sütun stilini varsayılan olarak ayarlamak için; aksi takdirde , false.

Döndürülenler

DataGridColumnStyle

Yeni DataGridColumnStyle.

Ayrıca bkz.

Şunlara uygulanır

CreateGridColumn(PropertyDescriptor)

Belirtilen PropertyDescriptorile yeni DataGridColumnStyle bir oluşturur.

protected:
 virtual System::Windows::Forms::DataGridColumnStyle ^ CreateGridColumn(System::ComponentModel::PropertyDescriptor ^ prop);
protected 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 Overridable Function CreateGridColumn (prop As PropertyDescriptor) As DataGridColumnStyle

Parametreler

prop
PropertyDescriptor

PropertyDescriptor Kılavuz sütun stilini oluşturmak için kullanılacak.

Döndürülenler

DataGridColumnStyle

Yeni DataGridColumnStyle.

Şunlara uygulanır