public event EventHandler<AnnLockObjectEventArgs> UnlockObject
add_UnlockObject(function(sender, e)) remove_UnlockObject(function(sender, e))
The event handler receives an argument of type AnnLockObjectEventArgs containing data related to this event. The following AnnLockObjectEventArgs properties provide information specific to this event.
Property | Description |
---|---|
Cancel | Gets or sets a value indicating whether the lock operation should be canceled. |
Object | Gets the Leadtools.Annotations.Core.AnnObject that is being locked. |
Password | Gets or sets the password used to unlock a locked Leadtools.Annotations.Core.AnnObject. |
This event will occur on a successful call to Unlock.
For an example, refer to Lock.
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