Piccolo.NET

PNode.BoundsChanged Event

Occurs when the value of the Bounds property changes.

public event PPropertyEventHandler BoundsChanged;

Event Data

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.

PropertyDescription
NewValue Gets the new value of the property that changed.
OldValue Gets the old value of the property that changed.

Remarks

In the PPropertyEventArgs, the new value will be a this node's bounds, but old value will always be null.

When a user attaches an event handler to the BoundsChanged Event as in BoundsChanged += new PPropertyEventHandler(aHandler), the add method adds the handler to the delegate for the event (keyed by PROPERTY_KEY_BOUNDS in the Events list). When a user removes an event handler from the BoundsChanged event as in BoundsChanged -= new PPropertyEventHandler(aHandler), the remove method removes the handler from the delegate for the event (keyed by PROPERTY_KEY_BOUNDS in the Events list).

See Also

PNode Class | UMD.HCIL.Piccolo Namespace


Web Accessibility