Spread for ASP.NET 10 Product Documentation
ResetCellType Method (StyleInfo)
Example 


Resets the CellType property to its default value.
Syntax
'Declaration
 
Public Sub ResetCellType() 
'Usage
 
Dim instance As StyleInfo
 
instance.ResetCellType()
public void ResetCellType()
Example
This example uses the ResetCellType method.
FarPoint.Web.Spread.StyleInfo Style = new FarPoint.Web.Spread.StyleInfo();
Style.CellType = new FarPoint.Web.Spread.CheckBoxCellType();
//Style.ResetCellType();
FpSpread1.ActiveSheetView.SetStyleInfo(1, 1, Style);
Dim Style As New FarPoint.Web.Spread.StyleInfo()
Style.CellType = New FarPoint.Web.Spread.CheckBoxCellType()
' Style.ResetCellType()
FpSpread1.ActiveSheetView.SetStyleInfo(1, 1, Style)
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

StyleInfo Class
StyleInfo Members

 

 


Copyright © GrapeCity, inc. All rights reserved.