This is a migrated thread and some comments may be shown as answers.

DocumentPresenterControl Theme - Selected?

3 Answers 63 Views
Themes and Visual Style Builder
This is a migrated thread and some comments may be shown as answers.
Pawz
Top achievements
Rank 1
Pawz asked on 15 Sep 2008, 07:51 AM
This should be an easy one - how do I make it so that when I select a tab in the docking manager, the selected tab is highlighted?

I've got it highlighting the tab when I hover & when I click on the tab, but the effects are just fading away, so I need to know how to find and set the condition for the effect.

 thanks

3 Answers, 1 is accepted

Sort by
0
Julian Benkov
Telerik team
answered on 18 Sep 2008, 03:04 PM
Hi Pawz,

This is done through the theme, which you can customize in the Visual Style Builder. For more information on the topic, please see these videos:
Using the Visual Style Builder part I
Using the Visual Style Builder part II

If you have additional questions, please contact us.

Regards,
Julian Benkov
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
Pawz
Top achievements
Rank 1
answered on 18 Sep 2008, 11:18 PM
Thee videos are a good primer - unfortunately they're not anywhere close to answering the question.

I'm looking for the specific property on the DocumentPresenter control that allows me to determine (in the theme) whether or not the document is currently active.

I've got my theme already set up to use the mouseover / mouse click states properly, but I can't seem to find the property that controls whether or not the tab is selected.

Here is my current theme - if you save it to a file and load it up for the DocumentPresenter control you can see it in action - and note how the tab buttons light up when you hover over them, but they don't give an indication which one is actually currently selected.

EDIT: Ok, found the proper trigger: "Telerik.WinControls.UI.RadTabStripElement.IsSelected". Add a condition to check that value for true/false and it shows up. Yay! :)


0
Vassil Petev
Telerik team
answered on 19 Sep 2008, 02:34 PM
Yep, this is it :)

Let us know if you need further assistance.


Best wishes,
Vassil
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Tags
Themes and Visual Style Builder
Asked by
Pawz
Top achievements
Rank 1
Answers by
Julian Benkov
Telerik team
Pawz
Top achievements
Rank 1
Vassil Petev
Telerik team
Share this question
or