Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

RoutedPropertyChangingEventArgs<T>.InCoercion Property


Gets or sets a value indicating whether internal value coercion is acting on the property change that originated the RoutedPropertyChanging event.

Namespace:  System.Windows.Controls
Assembly:  System.Windows.Controls (in System.Windows.Controls.dll)
public bool InCoercion { get; set; }

Property Value

Type: System.Boolean
true if coercion is active. false if coercion is not active.

Coercion of values is not inherent in the property system in Silverlight. Implementations might use this value as a sentinel to denote that processing in the handler has entered a custom routine that coerces the value based on the reported old and new values. The coercion routine would not attempt to raise the event again in this case.


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)
Thank you for your feedback

Community Additions

© 2014 Microsoft. All rights reserved.