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

RadRibbonSplitButton IsToggle Windows8 Theme

4 Answers 67 Views
RibbonView and RibbonWindow
This is a migrated thread and some comments may be shown as answers.
Dennis
Top achievements
Rank 1
Dennis asked on 23 Jan 2013, 08:47 PM
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?

4 Answers, 1 is accepted

Sort by
0
Dennis
Top achievements
Rank 1
answered on 23 Jan 2013, 09:07 PM
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.
    
0
Tina Stancheva
Telerik team
answered on 28 Jan 2013, 01:02 PM
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.

0
Dennis
Top achievements
Rank 1
answered on 28 Jan 2013, 03:13 PM
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
0
Tina Stancheva
Telerik team
answered on 28 Jan 2013, 04:43 PM
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.

Tags
RibbonView and RibbonWindow
Asked by
Dennis
Top achievements
Rank 1
Answers by
Dennis
Top achievements
Rank 1
Tina Stancheva
Telerik team
Share this question
or