BindingChangingEventArgs

CancelEventArgsEventArgsReferences
Arguments for when a binding's value is changing
Remarks: When handling the event, one could cancel setting the new value by setting the CancelEventArgs.Cancel property to false.

Constructors

BindingChangingEventArgs

#Since v2.11
public BindingChangingEventArgs(object value, BindingUpdateMode? updateMode)
Initializes a new instance of the BindingChangingEventArgs with the specified value and update mode
value (object)value that the binding is being set to
updateMode (BindingUpdateMode?)update mode for this change event

BindingChangingEventArgs

#
public BindingChangingEventArgs(object value)
Initializes a new instance of the BindingChangingEventArgs with the specifid value

Properties

UpdateMode

#Since v2.11
public BindingUpdateMode? UpdateMode { get; }
Gets or sets the update mode for this change event This is used to determine if the change is being set to the source or target of the binding