'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.
Property | Description |
---|---|
NewStyle | Gets the new style that was added, or null if no style was added. |
OldStyle | Gets the old style that was removed or changed, or null if no style was removed or changed. |
Type | Gets the type of event that occurred. |
Example
This example causes the Changed event to occur for the NamedStyleCollection object.
See Also