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

RadRibbonView no causing a lose focus on editing RadGridView row

1 Answer 103 Views
RibbonView and RibbonWindow
This is a migrated thread and some comments may be shown as answers.
Alex
Top achievements
Rank 1
Alex asked on 12 Mar 2013, 11:59 AM
I have upgraded to the latest WPF RadControls and have moved from the RsdRibbonBar to the RadRibbonView.

When I used the RadRibbonBar, if I hit a button on the bar it would cause a lose focus on the row of the RadGridView that I was editing and move it out of this mode.

However the RadRibbonView does not have this default behaviour. It will not cause a lose focus event and when a button on it is clicked, the RadGridView row that is being edited will stay in edit mode.

How can I get the RadRibbonView to behave in the same way as the RadRibbonBar??

Thanks

1 Answer, 1 is accepted

Sort by
1
Accepted
Tina Stancheva
Telerik team
answered on 12 Mar 2013, 12:09 PM
Hello Alex,

The RadRibbonView control is a separate focus scope by default. This is causing the behavior you described. However, if you'd like to change that behavior, you can set the FocusManager.IsFocusScope attached property to False thus enabling the normal focus behavior of the controls inside the RibbonView.

Please give this a try and let us know if you need any additional information.

Kind regards,
Tina Stancheva
the Telerik team

Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

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