DataGridViewBand::InheritedStyle Property
.NET Framework (current version)
Gets the cell style in effect for the current band, taking into account style inheritance.
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
public: [BrowsableAttribute(false)] property DataGridViewCellStyle^ InheritedStyle { virtual DataGridViewCellStyle^ get(); }
Property Value
Type: System.Windows.Forms::DataGridViewCellStyle^A DataGridViewCellStyle associated with the DataGridViewBand. The default is null.
The implementation of this property in the DataGridViewBand class always returns null because this base class cannot contain elements.
For more information about style inheritance, see Cell Styles in the Windows Forms DataGridView Control.
.NET Framework
Available since 2.0
Available since 2.0
Show: