| Visual Basic (Declaration) | |
|---|---|
<DesignerSerializationVisibilityAttribute()> Public Property LockPicture As AnnPicture | |
| Visual Basic (Usage) | Copy Code |
|---|---|
| |
| C# | |
|---|---|
[DesignerSerializationVisibilityAttribute()] public AnnPicture LockPicture {get; set;} | |
| C++/CLI | |
|---|---|
[DesignerSerializationVisibilityAttribute()] public: property AnnPicture^ LockPicture { AnnPicture^ get(); void set (AnnPicture^ value); } | |
| XAML Syntax | |
|---|---|
| For XAML information, see the Leadtools.Windows.Annotations.AnnPicture type. | |
| Dependencies Property Information | |
|---|---|
Identifier field | |
Metadata properties set to true | None |
| XAML Syntax | |
|---|---|
| For XAML information, see the Leadtools.Windows.Annotations.AnnPicture type. | |
| Dependencies Property Information | |
|---|---|
Identifier field | |
Metadata properties set to true | None |
Return Value
The AnnPicture used when drawing the locked symbol for locked objects.
| Visual Basic | Copy Code |
|---|---|
Public Sub AnnContainer_LockPicture(ByVal container As AnnContainer) | |
| C# | Copy Code |
|---|---|
public void AnnContainer_LockPicture(AnnContainer container) | |
All objects inside the container will use this picture when drawing the object if the object is locked.
The container uses a picture of a "lock" that is created by default. You can change this default picture by using this property.
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
Copy Code