Disable the component

To disable the DateTimePicker, use its enable property to false.