This documentation is archived and is not being maintained.

ActivityDesigner.IsLocked Property

Gets a value that indicates whether the activity associated with the designer can be modified.

Namespace:  System.Workflow.ComponentModel.Design
Assembly:  System.Workflow.ComponentModel (in System.Workflow.ComponentModel.dll)

public bool IsLocked { get; }

Property Value

Type: System.Boolean
true if the activity associated with the designer can be modified; otherwise, false.

IsLocked determines whether an activity can be modified. This affects drag operations, changes to properties, and changes to the position of the activity in the designer window.

Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

.NET Framework

Supported in: 3.5, 3.0