Hi,
it seems that RadDocking.DocumentHost swallows shorctcut keys defined in a AccessText. Here's an example to reproduce the problem:
xaml:
cs:
When clicking on the "Test"-button another button appears inside the DocumentHost with the Content "XXX". When pressing the ALT-key the shortcut of the "Test"-Button is being shown, but the shortcut on the XXXX-Button is missing.
Any ideas how to solve this issue?
Regards,
Michael
it seems that RadDocking.DocumentHost swallows shorctcut keys defined in a AccessText. Here's an example to reproduce the problem:
xaml:
<
Window
x:Class
=
"WpfTelerikDocking.MainWindow"
Title
=
"MainWindow"
Height
=
"350"
Width
=
"525"
>
<
Grid
>
<
Grid.RowDefinitions
>
<
RowDefinition
/>
<
RowDefinition
Height
=
"Auto"
/>
</
Grid.RowDefinitions
>
<
t:RadDocking
>
<
t:RadDocking.DocumentHost
>
<
StackPanel
x:Name
=
"mainPanel"
/>
</
t:RadDocking.DocumentHost
>
</
t:RadDocking
>
<
Button
Grid.Row
=
"1"
Margin
=
"5"
Width
=
"80"
HorizontalAlignment
=
"Left"
Click
=
"Button_Click"
>_Test</
Button
>
</
Grid
>
</
Window
>
cs:
using
System.Windows;
using
System.Windows.Input;
using
System.Windows.Controls;
namespace
WpfTelerikDocking
{
public
partial
class
MainWindow : Window
{
public
MainWindow()
{
InitializeComponent();
}
private
void
Button_Click(
object
sender, RoutedEventArgs e)
{
Button b =
new
Button();
b.Content =
new
AccessText() { Text =
"_XXX"
};
this
.mainPanel.Children.Add(b);
}
}
}
When clicking on the "Test"-button another button appears inside the DocumentHost with the Content "XXX". When pressing the ALT-key the shortcut of the "Test"-Button is being shown, but the shortcut on the XXXX-Button is missing.
Any ideas how to solve this issue?
Regards,
Michael