Occurs when the value of the Visible property changes.
The event handler receives an argument of type PPropertyEventArgs containing data related to this event. The following PPropertyEventArgs properties provide information specific to this event.
Property | Description |
---|---|
NewValue | Gets the new value of the property that changed. |
OldValue | Gets the old value of the property that changed. |
In the PPropertyEventArgs, both the old and new value will be null.
When a user attaches an event handler to the VisibleChanged Event as in VisibleChanged += new PPropertyEventHandler(aHandler), the add method adds the handler to the delegate for the event (keyed by PROPERTY_KEY_VISIBLE in the Events list). When a user removes an event handler from the VisibleChanged event as in VisibleChanged -= new PPropertyEventHandler(aHandler), the remove method removes the handler from the delegate for the event (keyed by PROPERTY_KEY_VISIBLE in the Events list).
PNode Class | UMD.HCIL.Piccolo Namespace