DataGridViewBand.InheritedStyle Propriedade

Definição

Faz com que o estilo da célula se active para a banda atual, tendo em conta a herança de estilo.

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

Valor de Propriedade

Um DataGridViewCellStyle associado ao DataGridViewBand. A predefinição é null.

Atributos

Observações

A implementação desta propriedade na DataGridViewBand classe retorna null sempre porque esta classe base não pode conter elementos.

Para obter mais informações sobre herança de estilo, consulte os Estilos de Célula em no controlo DataGridView do Windows Forms.

Aplica-se a

Ver também