Spread Windows Forms 6.0 Product Documentation
Reset(ICollection) Method
See Also  Example Support Options
FarPoint.Win.Spread Assembly > FarPoint.Win.Spread Namespace > DefaultSkins Class > Reset Method : Reset(ICollection) Method


sheets
An array of sheets

Glossary Item Box

Resets the skin properties of an array of sheets to the default values.

Syntax

Visual Basic (Declaration) 
Public Overloads Shared Sub Reset( _
   ByVal sheets As ICollection _
) 
Visual Basic (Usage)Copy Code
Dim sheets As ICollection
 
DefaultSkins.Reset(sheets)
C# 
public static void Reset( 
   ICollection sheets
)

Parameters

sheets
An array of sheets

Exceptions

ExceptionDescription
System.ArgumentNullException No sheet collection specified or specified sheet collection is null

Example

This example resets the default skin to its default value.
C#Copy Code
FarPoint.Win.Spread.DefaultSkins.Reset(fpSpread1.Sheets[0]);
Visual BasicCopy Code
FarPoint.Win.Spread.DefaultSkins.Reset(FpSpread1.Sheets(0))

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

© 2002-2012 ComponentOne, a division of GrapeCity. All Rights Reserved.