IdeaBlade DevForce 2010 Help Reference
EntityPropertyChanging Event
See Also  Send Feedback
IdeaBlade.EntityModel Assembly > IdeaBlade.EntityModel Namespace > EntityGroup Class : EntityPropertyChanging Event



Fired whenever a property value on an entity is changing.

Syntax

Visual Basic (Declaration) 
Public Event EntityPropertyChanging As EventHandler(Of EntityPropertyChangingEventArgs)
Visual Basic (Usage)Copy Code
Dim instance As EntityGroup
Dim handler As EventHandler(Of EntityPropertyChangingEventArgs)
 
AddHandler instance.EntityPropertyChanging, handler
C# 
public event EventHandler<EntityPropertyChangingEventArgs> EntityPropertyChanging
C++/CLI 
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 (Inherited from IdeaBlade.EntityModel.EntityChangeCancelEventArgs) Gets or sets a value indicating whether the event should be canceled.
Entity (Inherited from IdeaBlade.EntityModel.EntityChangeEventArgs) The object that is changing or has been changed.
EntityAspect (Inherited from IdeaBlade.EntityModel.EntityChangeEventArgs) Returns the EntityAspect for the entity involved in the event.
EntityWrapper (Inherited from IdeaBlade.EntityModel.EntityChangeEventArgs)Gets the EntityChangeEventArgs.EntityWrapper involved in the event.
NativeEntity (Inherited from IdeaBlade.EntityModel.EntityChangeEventArgs) The Entity that is changing or has been changed.
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.
ProposedValueProperty The local parent property that is actually being changed. Will be different from Property when a complex object is involved.

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2013 All Rights Reserved.