PersistentObject.OnContentChanging(String, Object, Object) Method
Called before a persistent object is modified.
Namespace: DevExpress.XtraScheduler
Assembly: DevExpress.XtraScheduler.v24.2.Core.dll
Declaration
public virtual bool OnContentChanging(
string propertyName,
object oldValue,
object newValue
)
Parameters
Name | Type | Description |
---|---|---|
propertyName | String | A string that is the name of the property being changed. |
oldValue | Object | An object that is the value of the property before modification. |
newValue | Object | An object that is the value of the property if modification succeeds. |
Returns
Type | Description |
---|---|
Boolean | True, if the change has been canceled; otherwise, false. |
See Also