Approved
Last Updated: 03 Jan 2017 21:10 by Manthravadi
ADMIN
Martin Ivanov
Created on: 09 May 2016 13:23
Category: PanelBar
Type: Bug Report
1
PanelBar: Pressing the Enter key changes the size of the RadPanelBarItem on level 2 of the control
When an level 2 RadPanelBarItem is selected initially it is stretched. Pressing the Enter key will resize it so that its children fit. 

As a workaround you can subscribe for the PreviewKeyDown of RadPanelBar and handle the event if the item should not be collapsed.

private void OnPreviewKeyDown(object sender, KeyEventArgs e)
{
    var panelBarItem = sender as RadPanelBarItem;
    if (panelBarItem != null && panelBarItem.Level == 2 && e.Key == Key.Enter)
    {
        e.Handled = true;
    }
}
(Total attached files size should be smaller than 20mb. Allowed extensions: .zip, .rar, .jpg, .png, .gif)
1 comment
Manthravadi
Posted on: 09 May 2016 15:19
Hi there,

We hope that this bug would be fixed by Q2 2016 Service Pack scheduled for June. Please consider increasing its priority!