Use the Enable property to disable the control. Use the ReadOnly property to make your control read-only.