Export (0) Print
Expand All

RoutedPropertyChangingEventArgs<T> Constructor

Silverlight

Initializes a new instance of the RoutedPropertyChangingEventArgs<T> class,

Namespace:  System.Windows.Controls
Assembly:  System.Windows.Controls (in System.Windows.Controls.dll)

public RoutedPropertyChangingEventArgs(
	DependencyProperty property,
	T oldValue,
	T newValue,
	bool isCancelable
)

Parameters

property
Type: System.Windows.DependencyProperty
The DependencyProperty identifier for the property that is changing.
oldValue
Type: T
The previous value of the property.
newValue
Type: T
The new value of the property, assuming that the property change is not cancelled.
isCancelable
Type: System.Boolean
true if the property change is cancellable by setting Cancel to true in event handling. false if the property change is not cancellable.

The default value for Cancel is false in a new instance.

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

ADD
Show:
© 2014 Microsoft