DataGridViewColumn.InheritedStyle Özellik

Tanım

Sütuna uygulanmış olan 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)>]
member this.InheritedStyle : System.Windows.Forms.DataGridViewCellStyle
Public Overrides ReadOnly Property InheritedStyle As DataGridViewCellStyle

Özellik Değeri

DataGridViewCellStyle

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 DefaultCellStyle değerlerini devralır DataGridView.DefaultCellStyle .

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.