LEADTOOLS Annotations for WPF and Silverlight (Leadtools.Windows.Annotations assembly)

CanUnlock Property

Show in webframe





Gets a value that indicates whether the object currently being edited (selected) can be unlocked.
Syntax
public virtual bool CanUnlock {get;}
'Declaration
 
Public Overridable ReadOnly Property CanUnlock As Boolean
'Usage
 
Dim instance As AnnAutomation
Dim value As Boolean
 
value = instance.CanUnlock

            

            
public:
virtual property bool CanUnlock {
   bool get();
}

Property Value

true if the object currently being edited (selected) can be unlocked; otherwise, false.
Remarks

This property value is true if an AnnObject is currently being edited (selected); in other words, CurrentEditObject is not null (Nothing in Visual Basic) and also this AnnObject is currently locked (the AnnObject.IsLocked value of this AnnObject is true). Otherwise, this property value is false.

Use the Unlock method to unlock the object currently being edited (selected).

For more information, refer to Implementing WPF Annotation Security.

Example

For C#/VB examples, refer to Lock.

Requirements

Target Platforms

See Also

Reference

AnnAutomation Class
AnnAutomation Members

 

 


Products | Support | Contact Us | Copyright Notices
© 2006-2014 All Rights Reserved. LEAD Technologies, Inc.