Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

RoutedPropertyChangingEventHandler(Of 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)

'Declaration
Public Delegate Sub RoutedPropertyChangingEventHandler(Of T) ( _
	sender As Object, _
	e As RoutedPropertyChangingEventArgs(Of T) _
)

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(Of T)
Event data for the event,

Examples of events that use type-constrained delegates based on RoutedPropertyChangingEventHandler(Of 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.

Community Additions

Show:
© 2017 Microsoft