Back to Devexpress

ObjectChangeEventArgs Members

xpo-devexpress-dot-xpo-dot-objectchangeeventargs-dot-underscore-members.md

latest5.8 KB
Original Source

ObjectChangeEventArgs Members

Provides data for the XPBaseObject.Changed and Session.ObjectChanged events.

Constructors

NameDescription
ObjectChangeEventArgs(ObjectChangeReason, String)Obsolete. Initializes a new instance of the ObjectChangeEventArgs class with the specified ObjectChangeEventArgs.Reason and ObjectChangeEventArgs.PropertyName properties.
ObjectChangeEventArgs(ObjectChangeReason)Obsolete. Initializes a new instance of the ObjectChangeEventArgs class with the specified ObjectChangeEventArgs.Reason property.
ObjectChangeEventArgs(Session, Object, ObjectChangeReason, String, Object, Object)Initializes a new instance of the ObjectChangeEventArgs class with the specified parameters.
ObjectChangeEventArgs(Session, Object, ObjectChangeReason)Initializes a new instance of the ObjectChangeEventArgs class with the specified parameters.
ObjectChangeEventArgs(Session, Object, String, Object, Object)Initializes a new instance of the ObjectChangeEventArgs class with the specified parameters.
ObjectChangeEventArgs(String, Object, Object)Obsolete. Initializes a new instance of the ObjectChangeEventArgs class with the specified properties.

Fields

NameDescription
DisableObjectChangeEventArgsCache static
Empty staticProvides a value to use with events that do not have event data. Inherited from EventArgs.

Properties

NameDescription
NewValueGets or sets the property’s new value.
ObjectGets or sets the object whose property has been changed.
OldValueGets or sets the property’s old value.
PropertyNameGets the name of the property affected by the changes made.
ReasonGets the way in which the object has been changed.
SessionGets or sets the Session of the object whose property has been changed.

Methods

NameDescription
Equals(Object, Object) staticDetermines whether the specified object instances are considered equal. Inherited from Object.
Equals(Object)Determines whether the specified object is equal to the current object. Inherited from Object.
GetHashCode()Serves as the default hash function. Inherited from Object.
GetType()Gets the Type of the current instance. Inherited from Object.
MemberwiseClone() protectedCreates a shallow copy of the current Object. Inherited from Object.
ReferenceEquals(Object, Object) staticDetermines whether the specified Object instances are the same instance. Inherited from Object.
ToString()Returns a string that represents the current object. Inherited from Object.

See Also

ObjectChangeEventArgs Class

DevExpress.Xpo Namespace