CodeCarvings.Piczard
ValueChanged Event
See Also  Send Feedback
CodeCarvings.Piczard.Web Namespace > PictureTrimmer Class : ValueChanged Event

Occurs when the Value of the PictureTrimmer control changes between posts to the server.

Syntax

Visual Basic (Declaration)  
<DescriptionAttribute("Event generated when the value has changed.")>
<BrowsableAttribute(True)>
Public Event ValueChanged() As PictureTrimmerValueChangedEventHandler
C#  
[DescriptionAttribute("Event generated when the value has changed.")]
[BrowsableAttribute(true)]
public event PictureTrimmerValueChangedEventHandler ValueChanged()

Event Data

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.

Property Description
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.

Remarks

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.

Please see:

Requirements

Platforms: Windows 8, Windows 7, Windows Vista, Windows XP Professional, Windows 2000 - Windows Server family: 2012, 2008.R2, 2008, 2003, 2000

See Also

©2013 Sergio Turolla. All Rights Reserved.