FarPoint.Web.Spread Assembly > FarPoint.Web.Spread Namespace > SheetSkin Class : Equals Method |
FarPoint.Web.Spread.SheetSkin sk = new FarPoint.Web.Spread.SheetSkin("TestSkin", Color.LightGoldenrodYellow, Color.Wheat, Color.DarkGreen, 2, Color.YellowGreen, GridLines.Both, Color.Thistle, Color.BlanchedAlmond, Color.Wheat, Color.DarkBlue, Color.Empty, Color.Empty, false, false, true, true, true); FarPoint.Web.Spread.SheetSkin testskin = new FarPoint.Web.Spread.SheetSkin(sk); bool b; if(IsPostBack) { b = testskin.Equals(sk); if (b) { testskin.Apply(FpSpread1); } }
Dim sk As New FarPoint.Web.Spread.SheetSkin("TestSkin", Color.LightGoldenrodYellow, Color.Wheat, Color.DarkGreen, 2, Color.YellowGreen, GridLines.Both, Color.Thistle, Color.BlanchedAlmond, Color.Wheat, Color.DarkBlue, Nothing, Nothing, False, False, True, True, True) Dim testskin As New FarPoint.Web.Spread.SheetSkin(sk) Dim b As Boolean If IsPostBack Then b = testskin.Equals(sk) If b Then testskin.Apply(FpSpread1) End If End If
Target Platforms: Windows 7, Windows 8, Windows 10, Windows Vista, Windows Server 2003, Windows Server 2008, Windows Server 2012, Windows XP Professional