RadRibbonSplitButton IsToggle Windows8 Theme

5 posts, 0 answers
  1. Dennis
    Dennis avatar
    5 posts
    Member since:
    Jan 2013

    Posted 23 Jan 2013 Link to this post

    When i set IsToggle to a RadRibbonSplitButton with a Windows8 or Windows8 Touch Theme:
     
    1. The toggle does not maintain his visually pressed state after clicking in a item of the DropDownContent.
    2. Is really hard to differentiate between RadRibbonSplitButton or a RadRibbonDropDownButton.
    3. There is no visually information wich is the button part and which is the dropdown part.

    Is there a way to maintain his visual pressed state without changing to other theme?
  2. Dennis
    Dennis avatar
    5 posts
    Member since:
    Jan 2013

    Posted 23 Jan 2013 Link to this post

    This behavior is fixed if the control is located under:
        RadRibbonGroup ->StackPanel->RadRibbonSplitButton
    Previously:
        RadRibbonGroup->RadRibbonSplittButton

    --And actually i just realized that anyControls under "RadRibbonGroup ->StackPanel" the style is different.
        
  3. DevCraft banner
  4. Tina Stancheva
    Admin
    Tina Stancheva avatar
    3298 posts

    Posted 28 Jan 2013 Link to this post

    Hi Dennis,

    You're right that at the moment the visual styles of the RibbonSplitButton and RibbonDropDownButton in the Windows8 and Windows8Touch themes are the same. We are aware of this issue and we will fix it as soon as possible.

    However, I wasn't able to detect different styles when wrapping the controls in a StackPanel and I'd appreciate it if you can take a look at the attached solution to let me know if you see any differences between the two RibbonGroups.

    As for the toggle state, this is a design decision as the RadRibbonSplitButton isn't expected to act as a ToggleButton. Instead, its button part is designed to react as a normal button and execute an action on click. And if the button part of the button isn't clicked, then its DropDownContent is opened and is responsible for handling the users interactions. This is why we don't keep track of the toggle state of the SplitButton.

    But if you need a toggle state for a DropDown button, you might consider using the RadRibbonToggleButton with a ContextMenu, similarly to the approach described here.

    Kind regards,
    Tina Stancheva
    the Telerik team

    Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

  5. Dennis
    Dennis avatar
    5 posts
    Member since:
    Jan 2013

    Posted 28 Jan 2013 Link to this post

    In the project you attached the issue is there, but if i create a new project with the same xaml  the issue is solved.
    I verified the dll versions and in both projects are the same and both are sl5 and im not referencing any additional dll.
    I could not attach the project for you bc of the extension
  6. Tina Stancheva
    Admin
    Tina Stancheva avatar
    3298 posts

    Posted 28 Jan 2013 Link to this post

    Hello Dennis,

    Thank you for getting back to us. I'm not sure why the controls in your project behave differently than the ones in mine, but if you raise a support ticket we'll gladly take a closer look at the issues.

    You can start a support ticket through your account and the system will allow you to attach a zipped version of your solution files.

    Regards,
    Tina Stancheva
    the Telerik team

    Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

Back to Top
DevCraft banner