|Visual Basic (Declaration)|
<DescriptionAttribute("Event generated when the value has changed.")> <BrowsableAttribute(True)> Public Event ValueChanged() As PictureTrimmerValueChangedEventHandler
[DescriptionAttribute("Event generated when the value has changed.")] [BrowsableAttribute(true)] public event PictureTrimmerValueChangedEventHandler ValueChanged()
The event handler receives an argument of type PictureTrimmerValueChangedEventArgs containing data related to this event. The following PictureTrimmerValueChangedEventArgs properties provide information specific to this event.
|NewValue||Gets or sets the new Value or the PictureTrimmer control.|
|PreviousValue||Gets the previous Value of the PictureTrimmer control, before the ValueChanged event was raised.|
The ValueChanged event is raised when the Value of the PictureTrimmer control changes between posts to the server.
This allows you to provide an event-handling method that performs a custom routine whenever this event occurs.
With the PopupPictureTrimmer control you can use the AutoPostBackOnPopupClose feature to automatically postback the page when the popup closes.
In this way it's possible to raise the ValueChanged event as soon as the Value changes.
Platforms: Windows 8, Windows 7, Windows Vista, Windows XP Professional, Windows 2000 - Windows Server family: 2012, 2008.R2, 2008, 2003, 2000