GrapeCity MultiRow Windows Forms Documentation
DefaultCellStyle Property (Section)


Gets or sets default styles used by all cells in the Section (including header cells).
Syntax
<SRCategoryAttribute("Appearance")>
<SRDescriptionAttribute("Indicates the default style used by all cells in the Section. ")>
<RefreshPropertiesAttribute(RefreshProperties.All)>
Public Property DefaultCellStyle As CellStyle
Dim instance As Section
Dim value As CellStyle
 
instance.DefaultCellStyle = value
 
value = instance.DefaultCellStyle
[SRCategory("Appearance")]
[SRDescription("Indicates the default style used by all cells in the Section. ")]
[RefreshProperties(RefreshProperties.All)]
public CellStyle DefaultCellStyle {get; set;}

Property Value

A CellStyle that represents the default styles used by all cells in the Section.
Remarks
This property only controls Cells which are not HeaderCells. If you want to set the HeaderCell's style, you can set the ColumnHeadersDefaultHeaderCellStyle, RowsDefaultHeaderCellStyle, or ColumnFootersDefaultHeaderCellStyle.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

Section Class
Section Members
ColumnHeadersDefaultHeaderCellStyle Property
RowsDefaultHeaderCellStyle Property
ColumnFootersDefaultHeaderCellStyle Property

 

 


Copyright © GrapeCity, inc. All rights reserved.