Spread for ASP.NET 9.0 Product Documentation
Contains Method (DefaultSkins)
Example 


Skin (SheetSkin object) for which to check
Determines whether the collection contains the specified skin.
Syntax
'Declaration
 
Public Shared Function Contains( _
   ByVal skin As SheetSkin _
) As Boolean
'Usage
 
Dim skin As SheetSkin
Dim value As Boolean
 
value = DefaultSkins.Contains(skin)
public static bool Contains( 
   SheetSkin skin
)

Parameters

skin
Skin (SheetSkin object) for which to check

Return Value

true if the object is in the collection; false otherwise
Example
This example returns whether the specified skin is in the skins collection.
FarPoint.Web.Spread.DefaultSkins ds = new FarPoint.Web.Spread.DefaultSkins();
bool b;
b = ds.Contains(ds.Colorful4);
TextBox1.Text = b.ToString();
Dim ds As New FarPoint.Web.Spread.DefaultSkins
Dim b As Boolean
b = ds.Contains(ds.Colorful4)
TextBox1.Text = b.ToString()
Requirements

Target Platforms: Windows 7, Windows 8, Windows 10, Windows Vista, Windows Server 2003, Windows Server 2008, Windows Server 2012, Windows XP Professional

See Also

Reference

DefaultSkins Class
DefaultSkins Members

 

 


Copyright © GrapeCity, inc. All rights reserved.