Aracılığıyla paylaş


DataGridViewColumn.InheritedStyle Özellik

Tanım

Şu anda sütuna uygulanan hücre stilini alır.

public:
 virtual property System::Windows::Forms::DataGridViewCellStyle ^ InheritedStyle { System::Windows::Forms::DataGridViewCellStyle ^ get(); };
[System.ComponentModel.Browsable(false)]
public override System.Windows.Forms.DataGridViewCellStyle InheritedStyle { get; }
[System.ComponentModel.Browsable(false)]
public override System.Windows.Forms.DataGridViewCellStyle? InheritedStyle { get; }
[<System.ComponentModel.Browsable(false)>]
member this.InheritedStyle : System.Windows.Forms.DataGridViewCellStyle
Public Overrides ReadOnly Property InheritedStyle As DataGridViewCellStyle

Özellik Değeri

DataGridViewCellStyle Sütunu görüntülemek için kullanılan hücre stilini temsil eden bir.

Öznitelikler

Açıklamalar

Bu özellik, aynı zamanda hücrelere uygulanan satır stillerinden bağımsız olarak sütundaki tüm hücrelere hangi hücre stillerinin uygulanacağını belirlemek için kullanışlıdır. column InheritedStyle özelliği ve özelliğinden DefaultCellStyleDataGridView.DefaultCellStyle değerlerini devralır.

Hücre stili devralma hakkında daha fazla bilgi için bkz. Windows Forms DataGridView Denetimindeki Hücre Stilleri.

Şunlara uygulanır

Ayrıca bkz.