PersistentObject.OnContentChanging(String, Object, Object) Method

Called before a persistent object is modified.

Namespace: DevExpress.XtraScheduler

Assembly: DevExpress.XtraScheduler.v20.1.Core.dll

Declaration

public virtual bool OnContentChanging(
    string propertyName,
    object oldValue,
    object newValue
)
Public Overridable Function OnContentChanging(
    propertyName As String,
    oldValue As Object,
    newValue As Object
) As Boolean

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.

Implements

DevExpress.XtraScheduler.Internal.IInternalPersistentObject.OnContentChanging(String, Object, Object)
See Also