Nov 5, 2010 at 5:25 PM


how can i change the visible/enabled from a button/group/tab with codebehind at runtime ?

I fond only to set the label:

_buttonRibbon.Label = "new label"

I can't find a property for .visible/.viewable oder .enabled ...



Nov 6, 2010 at 3:37 PM

You can't change the visibility of a single UI control, like a button.

The closest thing you can do is:

1. Use application modes, which allows you to set several modes in the application, where each mode has a different set of tabs/groups/buttons.
Check this post for more information on application modes.

2. Use contextual tabs, which are additonal tabs that appear when you set a "context".
Check this post for more information on contextual tabs.