DataGridViewBand.InheritedStyle Propiedad

Definición

Obtiene el estilo de celda en vigor para la banda actual, teniendo en cuenta la herencia 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 propiedad

Asociado DataGridViewCellStyle a .DataGridViewBand El valor predeterminado es null.

Atributos

Comentarios

La implementación de esta propiedad en la DataGridViewBand clase siempre devuelve null porque esta clase base no puede contener elementos.

Para obtener más información sobre la herencia de estilos, consulte Estilos de celda en el control Windows Forms DataGridView.

Se aplica a

Consulte también