Display contextual tab when specific wizard window selected?

Ribbon for WPF Forum

Posted 14 years ago by Sascha Schwegelbauer
Version: 9.2.0515
Avatar
Hi,
how can I bind the IsActive property of a ribbon contextual tab in order to set it active when a specific wizard window is currently displayed?
Thanks for any hint!

Comments (6)

Posted 14 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar
Hi Sascha,

For that sort of thing where it depends on an external Window, you'd likely have to just set your contextual tab's IsActive property programmatically.


Actipro Software Support

Posted 14 years ago by Sascha Schwegelbauer
Avatar
Sure, I was just keen if there's a declarative way by binding it in xaml.
afaik, the wizard-pages don't have an "isShowing" property, so I have to ask the wizard itself, which is not so easy bindable - or am I missing a thing?
Posted 14 years ago by Sascha Schwegelbauer
Avatar
This is my current binding (IsActive), which is not working:

<ribbon:ContextualTabGroup
Label="Tab Group"
IsActive="{Binding IsSelected, ElementName=WizardPageTest}"
Color="#FFF55145">
Posted 14 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar
Sascha,

Is the Wizard control in the same Window as your Ribbon? If not, that binding may not work. If so, I would think that it would work.


Actipro Software Support

Posted 14 years ago by Sascha Schwegelbauer
Avatar
Yes, the wizard and the ribbon are in the same window - but it doesn't work. :-(
Posted 14 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar
Hi Sascha,

We'd probably need to see a simple sample project then if you want us to look into it further. If you decide to send one, please email it to our support address and don't include any .exe files in the ZIP.


Actipro Software Support

The latest build of this product (v24.1.2) was released 7 days ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.