I have a custom component which has a button control. Is
there anyway I can make the button control visible in FB2 design
mode but when the actual application runs, hide it? I tried to
override commitProperties and change the visibility to false but
looks like the visibility is false in design mode too. Is there any
other way I can achieve this?