Ribbon-Button/Group/Tab

Nov 5, 2010 at 4:25 PM

Hello,

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 ...

Bye

Martin

Coordinator
Nov 6, 2010 at 2: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.