RoutedPropertyChangingEventArgs<T>.InCoercion Property
Microsoft Silverlight will reach end of support after October 2021. Learn more.
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)
Syntax
'Declaration
Public Property InCoercion As Boolean
public bool InCoercion { get; set; }
Property Value
Type: System.Boolean
true if coercion is active. false if coercion is not active.
Remarks
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.
Version Information
Silverlight
Supported in: 5, 4, 3
Platforms
For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.