I'm developing a LightSwitch application.
I have and add/edit screen where I would like to disable a drop down list(combo box) if it is in edit mode.
I know how to disable a control. But just don't know how to do it only in edit mode .
screen.findContentItem("mycombo").isEnabled = false;