Shape.RegionChanged Event


Occurs when the value of the Region property changes.

Namespace:   Microsoft.VisualBasic.PowerPacks
Assembly:  Microsoft.VisualBasic.PowerPacks.Vs (in Microsoft.VisualBasic.PowerPacks.Vs.dll)

public event EventHandler RegionChanged

For more information about how to handle events, see Handling and Raising Events.

The following example shows how to respond to the RegionChanged event in an event handler. This example requires that you have an OvalShape control named OvalShape1 on a form.

private void ovalShape1_RegionChanged(object sender, System.EventArgs e)
    // Force the shape to repaint.
Return to top