Spread ASP.NET 17
FarPoint.Web.Spread Assembly / FarPoint.Web.Spread Namespace / Appearance Class / Reset Method
AppearanceProperty object containing the appearance property
Example


In This Topic
    Reset Method (Appearance)
    In This Topic
    Resets the setting of the specified appearance property to its default value.
    Syntax
    'Declaration
     
    
    Public Overridable Sub Reset( _
       ByVal prop As AppearanceProperty _
    ) 
    'Usage
     
    
    Dim instance As Appearance
    Dim prop As AppearanceProperty
     
    instance.Reset(prop)
    public virtual void Reset( 
       AppearanceProperty prop
    )

    Parameters

    prop
    AppearanceProperty object containing the appearance property
    Remarks

    Use this method to reset one of the appearance properties. For a list of the properties, see the AppearanceProperty class list of members.

    To reset all the appearance properties, use the ResetAll method.

    Example
    This example creates a new Appearance object, sets the background and foreground colors and then Resets the properties to their default values.
    See Also