Spread ASP.NET 17
FarPoint.Web.Spread Assembly / FarPoint.Web.Spread Namespace / NamedStyleCollection Class / Changed Event
Example


In This Topic
    Changed Event (NamedStyleCollection)
    In This Topic
    Occurs when a style is added, removed, or changed in the collection.
    Syntax
    'Declaration
     
    
    Public Event Changed As NamedStyleCollectionEventHandler
    'Usage
     
    
    Dim instance As NamedStyleCollection
    Dim handler As NamedStyleCollectionEventHandler
     
    AddHandler instance.Changed, handler
    public event NamedStyleCollectionEventHandler Changed
    Event Data

    The event handler receives an argument of type NamedStyleCollectionEventArgs containing data related to this event. The following NamedStyleCollectionEventArgs properties provide information specific to this event.

    PropertyDescription
    Gets the new style that was added, or null if no style was added.  
    Gets the old style that was removed or changed, or null if no style was removed or changed.  
    Gets the type of event that occurred.  
    Example
    This example causes the Changed event to occur for the NamedStyleCollection object.
    See Also