PersistentObject.OnContentChanging(String, Object, Object) Method
In This Article
Called before a persistent object is modified.
Namespace: DevExpress.XtraScheduler
Assembly: DevExpress.XtraScheduler.v24.2.Core.dll
NuGet Package: DevExpress.Scheduler.Core
#Declaration
public virtual bool OnContentChanging(
string propertyName,
object oldValue,
object newValue
)
#Parameters
Name | Type | Description |
---|---|---|
property |
String | A string that is the name of the property being changed. |
old |
Object | An object that is the value of the property before modification. |
new |
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