IdeaBlade.EntityModel Assembly > IdeaBlade.EntityModel Namespace > EntityGroup Class : EntityPropertyChanging Event |
'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
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.
Property | Description |
---|---|
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. |
ProposedValueProperty | The local parent property that is actually being changed. Will be different from Property when a complex object is involved. |
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