Spread Windows Forms 7.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 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8

See Also

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