FarPoint.Web.Spread Assembly > FarPoint.Web.Spread Namespace > NamedStyle Class > Reset Method : Reset() Method |
'Declaration Public Overloads Overrides Sub Reset()
'Usage Dim instance As NamedStyle instance.Reset()
public override void Reset()
FarPoint.Web.Spread.NamedStyle parent = new FarPoint.Web.Spread.NamedStyle("StyleHeaders", "HeaderDefault"); parent.BackColor = Color.Yellow; FpSpread1.NamedStyles.Add(parent); FpSpread1.ActiveSheetView.ColumnHeader.DefaultStyle = parent; FpSpread1.ActiveSheetView.RowHeader.DefaultStyle = parent; if (IsPostBack) { parent.Reset(); }
Dim parent As New FarPoint.Web.Spread.NamedStyle("StyleHeaders", "HeaderDefault") parent.BackColor = Color.Yellow FpSpread1.NamedStyles.Add(parent) FpSpread1.ActiveSheetView.ColumnHeader.DefaultStyle = parent FpSpread1.ActiveSheetView.RowHeader.DefaultStyle = parent If IsPostBack Then parent.Reset() End If
Target Platforms: Windows 7, Windows 8, Windows 10, Windows Vista, Windows Server 2003, Windows Server 2008, Windows Server 2012, Windows XP Professional