DocumentPresenterControl Theme - Selected?

4 posts, 0 answers
  1. Pawz
    Pawz avatar
    51 posts
    Member since:
    Aug 2007

    Posted 15 Sep 2008 Link to this post

    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
  2. Julian Benkov
    Admin
    Julian Benkov avatar
    1135 posts

    Posted 18 Sep 2008 Link to this post

    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.
  3. UI for WinForms is Visual Studio 2017 Ready
  4. Pawz
    Pawz avatar
    51 posts
    Member since:
    Aug 2007

    Posted 18 Sep 2008 Link to this post

    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! :)


  5. Vassil Petev
    Admin
    Vassil Petev avatar
    1765 posts

    Posted 19 Sep 2008 Link to this post

    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.
Back to Top