View3D.IsLocked Property

View3DIsLocked Property

Indicates if the view is locked.

Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.3.0.0 (25.3.0.0)
Syntax
public bool IsLocked { get; }
Public ReadOnly Property IsLocked As Boolean
	Get
public:
property bool IsLocked {
	bool get ();
}
member IsLocked : bool with get

Property Value

Boolean
Exceptions
ExceptionCondition
InvalidOperationException Returns true if the view is not a view template.
See Also