Visual Basic (Declaration) | |
---|---|
Public ReadOnly Property IsLocked As Boolean |
Visual Basic (Usage) | Copy Code |
---|---|
|
C# | |
---|---|
public bool IsLocked {get;} |
XAML Syntax | |
---|---|
You cannot use this property in XAML. |
Dependencies Property Information | |
---|---|
Identifier field | |
Metadata properties set to true | AffectsRender |
XAML Syntax | |
---|---|
You cannot use this property in XAML. |
Dependencies Property Information | |
---|---|
Identifier field | |
Metadata properties set to true | AffectsRender |
Return Value
true if this AnnObjectBase is currently locked; false otherwise.For C#/VB examples, refer to AnnObjectBase.Lock.
(Read only) Only unlocked objects can be locked. If an object is already locked, it will stay locked with its original password. You must pass the same password to AnnObjectBase.Unlock to unlock this AnnObjectBase.
An object must be unlocked in order to change that object in automated mode.
For more information, refer to Implementing WPF Annotation Security.
Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Vista, and Windows Server 2003 family