←Select platform

CanLock Property

Summary

Gets a value that indicates whether the object currently being edited (selected) can be locked.

Syntax

C#
VB
C++
public virtual bool CanLock { get; } 
  
Public Overridable ReadOnly Property CanLock As Boolean 
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 VB) 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

Help Version 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Windows.Annotations Assembly