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


FarPoint.Web.Spread Assembly > FarPoint.Web.Spread Namespace > StyleInfo Class : ResetCellType Method
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)
See Also

Reference

StyleInfo Class
StyleInfo Members