Spread ASP.NET 17
FarPoint.Web.Spread Assembly / FarPoint.Web.Spread Namespace / StyleInfo Class / Reset Method / Reset(SheetStyleProperty) Method
Property to reset
Example


In This Topic
    Reset(SheetStyleProperty) Method
    In This Topic
    Resets a specified property for a style to its default setting.
    Syntax
    'Declaration
     
    
    Public Overloads Overridable Sub Reset( _
       ByVal prop As SheetStyleProperty _
    ) 
    'Usage
     
    
    Dim instance As StyleInfo
    Dim prop As SheetStyleProperty
     
    instance.Reset(prop)
    public virtual void Reset( 
       SheetStyleProperty prop
    )

    Parameters

    prop
    Property to reset
    Remarks
    This method resets all the style settings in a StyleInfo object to the default settings.
    Example
    This example creates a StyleInfo object, sets three of its properties and assigns it to the first cell in the active sheet, resets the BackColor property and then assigns it to cell (0, 2).
    See Also