public event EventHandler<AnnBeforeObjectChangedEventArgs> BeforeObjectChanged
add_BeforeObjectChanged(function(sender, e)) remove_BeforeObjectChanged(function(sender, e))
The event handler receives an argument of type AnnBeforeObjectChangedEventArgs containing data related to this event. The following AnnBeforeObjectChangedEventArgs properties provide information specific to this event.
Property | Description |
---|---|
Cancel | Gets or sets a value indicating whether the change should be canceled. |
ChangeType | Gets the type of change. |
Designer | Gets the designer responsible for the change. |
Objects | Gets the objects that have been changed. |
This event will be fired before an AnnObject is about to be modified by this AnnAutomation.
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