Show / Hide Table of Contents

Method OnValueChanging

| Edit this page View Source

OnValueChanging(object?, object?)

Called when an attribute value is about to change.

Declaration
protected void OnValueChanging(object? oldValue, object? newValue)
Parameters
Type Name Description
object oldValue

The old attribute value.

object newValue

The new updated attribute value.

Remarks

To trigger a validation exception, throw an exception in this method.

See Also
ValueChanging
  • Edit this page
  • View Source
In this article
Back to top Generated by DocFX