Expand Minimize
This topic has not yet been rated - Rate this topic

RoutedPropertyChangingEventHandler<T> Delegate

Silverlight

Represents methods that handle various routed events that track property values changing. Typically the events denote a cancellable action.

Namespace:  System.Windows.Controls
Assembly:  System.Windows.Controls (in System.Windows.Controls.dll)
public delegate void RoutedPropertyChangingEventHandler<T>(
	Object sender,
	RoutedPropertyChangingEventArgs<T> e
)

Type Parameters

T

The type of the value for the dependency property that is changing.

Parameters

sender
Type: System.Object
The object where the initiating property is changing.
e
Type: System.Windows.Controls.RoutedPropertyChangingEventArgs<T>
Event data for the event,

Examples of events that use type-constrained delegates based on RoutedPropertyChangingEventHandler<T> include DropDownClosing and DropDownClosing.

The difference between RoutedPropertyChanged events and RoutedPropertyChanging events is that RoutedPropertyChanging events typically give the application an opportunity to cancel the property change, by setting Cancel to true in the event data.

Silverlight

Supported in: 5, 4, 3

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.

Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.