LEADTOOLS Annotations for WPF and Silverlight (Leadtools.Windows.Annotations assembly)
LEAD Technologies, Inc

CanLock Property






Gets a value that indicates whether the object currently being edited (selected) can be locked. .NET support Silverlight support
Syntax
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
public virtual bool CanLock {get;}
 get_CanLock(); 
public:
virtual property bool CanLock {
   bool get();
}

Property Value

true if the object currently being edited (selected) can be locked; 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 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.

Example

For C#/VB examples, refer to Lock.

Requirements

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

See Also

Reference

AnnAutomation Class
AnnAutomation Members

 

 


Products | Support | Contact Us | Copyright Notices

© 2006-2012 All Rights Reserved. LEAD Technologies, Inc.