Back to Devexpress

ObjectChangeEventArgs.Reason Property

xpo-devexpress-dot-xpo-dot-objectchangeeventargs-9606f1bc.md

latest1.7 KB
Original Source

ObjectChangeEventArgs.Reason Property

Gets the way in which the object has been changed.

Namespace : DevExpress.Xpo

Assembly : DevExpress.Xpo.v25.2.dll

NuGet Package : DevExpress.Xpo

Declaration

csharp
public ObjectChangeReason Reason { get; }
vb
Public ReadOnly Property Reason As ObjectChangeReason

Property Value

TypeDescription
ObjectChangeReason

An ObjectChangeReason enumeration value which represents the way in which the object has been changed.

|

Available values:

NameDescription
PropertyChanged

The value of the object’s property has been changed.

| | Reset |

An object’s property has been initialized with its default value.

| | Delete |

An object has been deleted.

| | EndEdit |

Editing has finished.

| | CancelEdit |

Any changes made to an object have been discarded.

| | BeginEdit |

Begins an edit on an object.

| | BeforePropertyDescriptorChangeWithinBeginEdit |

This member supports the .NET Framework infrastructure and cannot be used directly from your code.

|

See Also

ObjectChangeEventArgs Class

ObjectChangeEventArgs Members

DevExpress.Xpo Namespace