DevForce Help Reference
EntityPropertyChanging Event


Fired whenever a property value on an entity is changing.
Syntax
'Declaration
 
Public Event EntityPropertyChanging As EventHandler(Of EntityPropertyChangingEventArgs)
'Usage
 
Dim instance As EntityGroup
Dim handler As EventHandler(Of EntityPropertyChangingEventArgs)
 
AddHandler instance.EntityPropertyChanging, handler
public event EventHandler<EntityPropertyChangingEventArgs> EntityPropertyChanging
Event Data

The event handler receives an argument of type EntityPropertyChangingEventArgs containing data related to this event. The following EntityPropertyChangingEventArgs properties provide information specific to this event.

PropertyDescription
Cancel Gets or sets a value indicating whether the event should be canceled. (Inherited from IdeaBlade.EntityModel.EntityChangeCancelEventArgs)
Entity The object that is changing or has been changed. (Inherited from IdeaBlade.EntityModel.EntityChangeEventArgs)
EntityAspect Returns the EntityAspect for the entity involved in the event. (Inherited from IdeaBlade.EntityModel.EntityChangeEventArgs)
NativeEntity The Entity that is changing or has been changed. (Inherited from IdeaBlade.EntityModel.EntityChangeEventArgs)
Property Property that is changing.  
ProposedValue Gets or sets the proposed value of the property that is changing.  
ProposedValueParent The local parent object ( may be a complex object) containing the property being changed.  
ProposedValuePropertyThe local parent property that is actually being changed. Will be different from Property when a complex object is involved.  
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

EntityGroup Class
EntityGroup Members

Send Feedback