Products | Support | Email a link to this topic. | Send comments on this topic. | Back to Introduction - All Topics | Help Version 19.0.5.10
|
Leadtools.Windows.Annotations Namespace > AnnAutomation Class : CanLock Property |
public virtual bool CanLock {get;}
'Declaration Public Overridable ReadOnly Property CanLock As Boolean
'Usage Dim instance As AnnAutomation Dim value As Boolean value = instance.CanLock
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 not currently locked (the AnnObject.IsLocked value of this AnnObject is false). Otherwise, this property value is false.
Use the Lock method to lock the object currently being edited (selected).
For more information, refer to Implementing WPF Annotation Security.
For C#/VB examples, refer to Lock.