FarPoint.Win.Spread Assembly > FarPoint.Win.Spread Namespace > ColumnHeader Class : DefaultStyle Property |
'Declaration Public Property DefaultStyle As StyleInfo
'Usage Dim instance As ColumnHeader Dim value As StyleInfo instance.DefaultStyle = value value = instance.DefaultStyle
public StyleInfo DefaultStyle {get; set;}
FarPoint.Win.Spread.ColumnHeader ch;
FarPoint.Win.Spread.StyleInfo style = new FarPoint.Win.Spread.StyleInfo();
ch = fpSpread1.ActiveSheet.ColumnHeader;
ch.RowCount = 3;
style.BackColor = Color.Teal;
ch.DefaultStyle = style;
Dim ch As FarPoint.Win.Spread.ColumnHeader Dim style As New FarPoint.Win.Spread.StyleInfo() ch = FpSpread1.ActiveSheet.ColumnHeader ch.RowCount = 3 style.BackColor = Color.Teal ch.DefaultStyle = style
Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8