property Calendar.Locked as Boolean
Specifies whether the user can change the selection.

TypeDescription
Boolean A boolean expression that specifies whether the user can change the selection.

Use the Locked property to lock the control. If the control is locked the user can scroll the control's content. Use the Enabled property to disable the control. If the control is disabled the control cannot scroll the control's content.